diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-27 17:12:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-27 17:12:05 +0800 |
commit | 927928f3585342dbb3c8960fe7158e25e6536126 (patch) | |
tree | dac993505c81bd95f680d7c53a4ded31883bd7fe /server/src | |
parent | 4080fda019a01f2980f798f7c7aa8ac58f3a8270 (diff) | |
download | lua-language-server-927928f3585342dbb3c8960fe7158e25e6536126.zip |
可以继续补全
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/matcher/completion.lua | 4 |
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 |