diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-24 16:13:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-24 16:13:56 +0800 |
commit | 589d2fbcb28b2bbac9b287e77dba773ad8119a61 (patch) | |
tree | 8c9b799a721bdb27a5491cc0a39cf2b0c24edc10 /script/core/searcher.lua | |
parent | 8164480e7dad67d62ac9a4346fa2f149addbc573 (diff) | |
download | lua-language-server-589d2fbcb28b2bbac9b287e77dba773ad8119a61.zip |
fix
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r-- | script/core/searcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index eaf30899..c97237d0 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -366,7 +366,7 @@ function m.searchRefsByID(status, uri, expect, mode) end local function checkBackward(id, node, field) - if mode ~= 'ref' and not field then + if mode ~= 'ref' and not field or ignoredIDs[id] then return end for _, backwardID in ipairs(node.backward) do |