diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-18 20:25:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-18 20:25:54 +0800 |
commit | 170d9b5c7af761a2507727e4a9e303187a0f9120 (patch) | |
tree | 7c0fa455feca384b890cc11461de8d6c6ff83be0 /script/vm/eachDef.lua | |
parent | d845f923cb32aa08706cef2bff5c2af0bd35fa9a (diff) | |
download | lua-language-server-170d9b5c7af761a2507727e4a9e303187a0f9120.zip |
deep search
Diffstat (limited to 'script/vm/eachDef.lua')
-rw-r--r-- | script/vm/eachDef.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/eachDef.lua b/script/vm/eachDef.lua index 6f7af295..2bfad4bf 100644 --- a/script/vm/eachDef.lua +++ b/script/vm/eachDef.lua @@ -5,3 +5,7 @@ local searcher = require 'core.searcher' function vm.getDefs(source, field) return searcher.requestDefinition(source, field) end + +function vm.getAllDefs(source, field) + return searcher.requestAllDefinition(source, field) +end |