diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-28 15:06:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-28 15:06:58 +0800 |
commit | 0f04d1c9dc002b1cea8b560030adcece0a9505b6 (patch) | |
tree | d307f7e5e30708d80b9757f828487151a28ea27c /script/core | |
parent | 1100ac88445c971636f44a9afd03d74780ef892e (diff) | |
download | lua-language-server-0f04d1c9dc002b1cea8b560030adcece0a9505b6.zip |
update
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/searcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index 8c260767..20fd600f 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -622,7 +622,7 @@ function m.searchFields(status, source, mode, field) else if source.special == '_G' then local fullID = ('g:%q'):format(field) - searchAllGlobals(status, mode, fullID) + m.searchRefsByID(status, uri, fullID, mode) else local fullID = ('%s%s%q'):format(id, noder.SPLIT_CHAR, field) m.searchRefsByID(status, uri, fullID, mode) |