diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-06-13 18:30:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-06-13 18:30:01 +0800 |
commit | 4081b303684b95ec27fd833a1cd10978d4ad5e10 (patch) | |
tree | bd286d27d262934d662926247e885b56b72bd489 /script/parser | |
parent | cda4ec3f67a93a907752cc98572f0dac9c5dd83e (diff) | |
download | lua-language-server-4081b303684b95ec27fd833a1cd10978d4ad5e10.zip |
more smart completion for `continue`
fix #2042
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/guide.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index e7eb3751..d7399b4d 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -720,7 +720,7 @@ end --- 遍历所有指定类型的source ---@param ast parser.object ---@param type string ----@param callback fun(src: parser.object) +---@param callback fun(src: parser.object): any ---@return any function m.eachSourceType(ast, type, callback) local cache = getSourceTypeCache(ast) |