From 16c69314cfba1d8bf9b4c44747038f0ef96a126f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 18 Jun 2021 20:09:40 +0800 Subject: improve --- script/core/searcher.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script') 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 -- cgit v1.2.3