diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-23 11:58:30 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-23 11:58:30 +0800 |
commit | 7e816a0cdd2c88361b25980b0890b8ac8da16ab7 (patch) | |
tree | 1f50a891b2ecc285dde219f6fcc607ce0285ff7c /server/src/method/textDocument | |
parent | f4e491d45014f31ae8a181ae36a0a2fb23a72a21 (diff) | |
download | lua-language-server-7e816a0cdd2c88361b25980b0890b8ac8da16ab7.zip |
优化definition
Diffstat (limited to 'server/src/method/textDocument')
-rw-r--r-- | server/src/method/textDocument/definition.lua | 2 |
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 |