summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/textDocument')
-rw-r--r--server/src/method/textDocument/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/definition.lua b/server/src/method/textDocument/definition.lua
index d33fd739..20b2191f 100644
--- a/server/src/method/textDocument/definition.lua
+++ b/server/src/method/textDocument/definition.lua
@@ -14,7 +14,7 @@ local function findResult(lsp, params)
return nil
end
- local positions, isGlobal = core.definition(vm, position, 'definition', lsp)
+ local positions, isGlobal = core.definition(vm, position, 'definition')
if not positions then
return nil, isGlobal
end