diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-26 16:11:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-26 16:11:27 +0800 |
commit | 637253ee878d80add56c09ea5ecf3369e99cc40e (patch) | |
tree | 1a4d05d152ed1e2981eb9b17da30087817619cdd /server/src/method/textDocument/references.lua | |
parent | 813291da49e57e62fd4118f4a3f8a3cf977c264c (diff) | |
download | lua-language-server-637253ee878d80add56c09ea5ecf3369e99cc40e.zip |
重新实现穿透require
Diffstat (limited to 'server/src/method/textDocument/references.lua')
-rw-r--r-- | server/src/method/textDocument/references.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/method/textDocument/references.lua b/server/src/method/textDocument/references.lua index c5a3ebf3..f21625c8 100644 --- a/server/src/method/textDocument/references.lua +++ b/server/src/method/textDocument/references.lua @@ -23,6 +23,7 @@ return function (lsp, params) return end t:remove() + LastTask = nil vm, lines = lsp:getVM(uri) local positions = core.references(vm, position, declarat) |