summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/method/textDocument/signatureHelp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/signatureHelp.lua b/server/src/method/textDocument/signatureHelp.lua
index 98d2ea9b..9829917d 100644
--- a/server/src/method/textDocument/signatureHelp.lua
+++ b/server/src/method/textDocument/signatureHelp.lua
@@ -6,7 +6,7 @@ return function (lsp, params)
if not vm then
return
end
- local position = lines:positionAsChar(params.position.line + 1, params.position.character)
+ local position = lines:position(params.position.line + 1, params.position.character + 1)
local hovers = core.signature(vm, position)
if not hovers then
return