diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-28 16:12:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-28 16:12:55 +0800 |
commit | 1d257a7c89e6077dccf5ed9f539ec140a802e4d5 (patch) | |
tree | 8495a70b2a3f1a6ceb149370814bed9262533f2a /script/core/searcher.lua | |
parent | d0ac1fdf3c0ee6b9b04ac69eaeb3c2336381ab14 (diff) | |
download | lua-language-server-1d257a7c89e6077dccf5ed9f539ec140a802e4d5.zip |
stash
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r-- | script/core/searcher.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index 1407d617..487de982 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -123,6 +123,10 @@ local pushDefResultsMap = util.switch() : call(function (source, status) return true end) + : case 'doc.type.name' + : call(function (source, status) + return source.typeGeneric ~= nil + end) : case 'call' : call(function (source, status) if source.node.special == 'rawset' then |