diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-18 20:09:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-18 20:09:40 +0800 |
commit | 16c69314cfba1d8bf9b4c44747038f0ef96a126f (patch) | |
tree | 85ee1e3c0c91193646ee943820afd20599325d29 /script | |
parent | a23eab388cd3d257a36edd1a784dc17e62d79e8a (diff) | |
download | lua-language-server-16c69314cfba1d8bf9b4c44747038f0ef96a126f.zip |
improve
Diffstat (limited to 'script')
-rw-r--r-- | script/core/searcher.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index ee8af71a..ffb54c07 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -424,6 +424,9 @@ function m.searchRefsByID(status, uri, expect, mode) if mode ~= 'ref' and mode ~= 'field' and mode ~= 'allref' and not field then return end + if ignoredIDs[id] then + return + end noder.eachBackward(node, function (backwardID, tag) if tag == 'deep' and mode ~= 'allref' then return |