summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-10 15:58:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-10 15:58:15 +0800
commit0084783b5b5040197830af1600b558029d5dd823 (patch)
tree5f688f4a286ffa7bed7f08cb74ea885d7b6535b6 /script
parent0317157103c58c55035305e93db2bc3382f9d334 (diff)
downloadlua-language-server-0084783b5b5040197830af1600b558029d5dd823.zip
update
Diffstat (limited to 'script')
-rw-r--r--script/core/searcher.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 11e00378..d235829b 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -235,14 +235,12 @@ function m.searchRefsByID(status, uri, expect, mode)
end
cmark[field] = true
searchStep(id, field)
- cmark[field] = nil
else
if cmark[NONE] then
return
end
cmark[NONE] = true
searchStep(id, nil)
- cmark[NONE] = nil
end
log.debug('pop:', id, field)
end
@@ -266,7 +264,6 @@ function m.searchRefsByID(status, uri, expect, mode)
end
cmark[LAST] = true
search(lastID, newField)
- cmark[LAST] = nil
return lastID
end