diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-10 15:58:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-10 15:58:15 +0800 |
commit | 0084783b5b5040197830af1600b558029d5dd823 (patch) | |
tree | 5f688f4a286ffa7bed7f08cb74ea885d7b6535b6 /script | |
parent | 0317157103c58c55035305e93db2bc3382f9d334 (diff) | |
download | lua-language-server-0084783b5b5040197830af1600b558029d5dd823.zip |
update
Diffstat (limited to 'script')
-rw-r--r-- | script/core/searcher.lua | 3 |
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 |