Skip to content

Commit 12fd6e7

Browse files
committed
Undo a change
1 parent 6fb1776 commit 12fd6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/requests/actions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ end
4848
function textDocument_codeAction_request(params::CodeActionParams, server::LanguageServerInstance, conn)
4949
actions = CodeAction[]
5050
doc = getdocument(server, params.textDocument.uri)
51-
offset = get_offset(doc, params.range.start)
51+
offset = index_at(doc, params.range.start)
5252
x = get_expr(getcst(doc), offset)
5353
arguments = Any[params.textDocument.uri, offset] # use the same arguments for all commands
5454
if x isa EXPR

0 commit comments

Comments
 (0)