summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-27 17:12:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-27 17:12:05 +0800
commit927928f3585342dbb3c8960fe7158e25e6536126 (patch)
treedac993505c81bd95f680d7c53a4ded31883bd7fe /server/src
parent4080fda019a01f2980f798f7c7aa8ac58f3a8270 (diff)
downloadlua-language-server-927928f3585342dbb3c8960fe7158e25e6536126.zip
可以继续补全
Diffstat (limited to 'server/src')
-rw-r--r--server/src/matcher/completion.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/src/matcher/completion.lua b/server/src/matcher/completion.lua
index f846bad3..ba57532f 100644
--- a/server/src/matcher/completion.lua
+++ b/server/src/matcher/completion.lua
@@ -481,12 +481,10 @@ return function (vm, pos)
if inCall then
searchInArg(vm, inCall, inString, callback)
end
+ searchSpecial(vm, pos, callback)
if not inString then
searchInResult(result, source, vm, pos, callback)
end
- if #list == 0 and result.key == '' then
- searchSpecial(vm, pos, callback)
- end
if #list == 0 then
return nil
end