summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
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