summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-23 11:58:30 +0800
committersumneko <sumneko@hotmail.com>2019-04-23 11:58:30 +0800
commit7e816a0cdd2c88361b25980b0890b8ac8da16ab7 (patch)
tree1f50a891b2ecc285dde219f6fcc607ce0285ff7c /server/src/method/textDocument
parentf4e491d45014f31ae8a181ae36a0a2fb23a72a21 (diff)
downloadlua-language-server-7e816a0cdd2c88361b25980b0890b8ac8da16ab7.zip
优化definition
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