summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-17 14:33:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-17 14:33:30 +0800
commit1386a3fec48dd68bbb1b2ad0234bcd37b1462759 (patch)
treea1d60fbb66722eb1d77734e0d0a5cabba640731a /script
parent3a5d363650e86895c59c68d0154e651d2876f006 (diff)
downloadlua-language-server-1386a3fec48dd68bbb1b2ad0234bcd37b1462759.zip
fix
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 d01e18e0..930a9890 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -663,7 +663,7 @@ function m.searchRefsByID(status, suri, expect, mode)
local function checkForward(uri, id, field)
for forwardID, info in eachForward(nodersMap[uri], id) do
local targetUri, targetID
- if not checkBeforeForward(uri, id, field, info) then
+ if not checkBeforeForward(uri, forwardID, field, info) then
goto RELEASE_THEN_CONTINUE
end
targetUri, targetID = getUriAndID(forwardID)