From 589d2fbcb28b2bbac9b287e77dba773ad8119a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 24 May 2021 16:13:56 +0800 Subject: fix --- script/core/searcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/core/searcher.lua') 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 -- cgit v1.2.3