summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-25 20:38:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-25 20:38:26 +0800
commitb68f95c6d935a1be036ea157c10e0369cb6c5669 (patch)
tree7fc9dfdf4b95822194017ca440364a872b9f52d9 /script
parent10d122da212d5cc94ac88298014bc46ae5cda4c0 (diff)
downloadlua-language-server-b68f95c6d935a1be036ea157c10e0369cb6c5669.zip
fix #574
Diffstat (limited to 'script')
-rw-r--r--script/core/searcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index f86deddf..b537ae90 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -616,7 +616,7 @@ function m.searchRefsByID(status, uri, expect, mode)
end
local function checkAnyField(id, field)
- if mode == 'ref' or mode == 'field' or mode == 'allref' then
+ if mode == 'ref' or mode == 'allref' then
return
end
local lastID = noder.getLastID(id)