summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-26 16:24:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-26 16:24:34 +0800
commitc7184a917f20ce386e4c3ac7cbfa3c32d7180358 (patch)
treeb74bedd13bf60885eeb91d1b71566a5dca8b7bea
parent088f65ea422b6a7727a3e8a20f379d2ecddc633c (diff)
downloadlua-language-server-c7184a917f20ce386e4c3ac7cbfa3c32d7180358.zip
fix #758
-rw-r--r--changelog.md1
-rw-r--r--script/core/searcher.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index ac1006b1..41f7ea35 100644
--- a/changelog.md
+++ b/changelog.md
@@ -7,6 +7,7 @@
* `FIX` [#749](https://github.com/sumneko/lua-language-server/issues/749)
* `FIX` [#752](https://github.com/sumneko/lua-language-server/issues/752)
* `FIX` [#756](https://github.com/sumneko/lua-language-server/issues/756)
+* `FIX` [#758](https://github.com/sumneko/lua-language-server/issues/758)
## 2.4.5
`2021-10-18`
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 4d72b038..c5180a54 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -960,6 +960,7 @@ function m.searchRefsByID(status, suri, expect, mode)
end
search(suri, expect, nil)
+ flushGeneric()
end
local function prepareSearch(source)