summaryrefslogtreecommitdiff
path: root/server/src/method
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-24 11:08:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-24 11:08:46 +0800
commitbc56c859f3f15e4b626d65c317ae077f551288ad (patch)
tree408285db4002e8c7bdd906299c62e0104921417f /server/src/method
parent8647f7987e30799f8a84b5ed3ae39484ca1c7135 (diff)
downloadlua-language-server-bc56c859f3f15e4b626d65c317ae077f551288ad.zip
修正一些bug
Diffstat (limited to 'server/src/method')
-rw-r--r--server/src/method/textDocument/definition.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/method/textDocument/definition.lua b/server/src/method/textDocument/definition.lua
index 7370a8b7..dbf9e41c 100644
--- a/server/src/method/textDocument/definition.lua
+++ b/server/src/method/textDocument/definition.lua
@@ -55,6 +55,8 @@ end
local LastTask
+---@param lsp LSP
+---@param params table
return function (lsp, params)
local uri = params.textDocument.uri
local vm, lines = lsp:loadVM(uri)