diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 16:11:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 16:11:38 +0800 |
commit | 8356a0494c0ec696b7017406e1c06b4277f6acbd (patch) | |
tree | e213025a7e91f7956edd460e6bf8279fb53a15f5 /script | |
parent | 93abb07995244becd028828c1bfb9ee4a76ca7f9 (diff) | |
download | lua-language-server-8356a0494c0ec696b7017406e1c06b4277f6acbd.zip |
resolve warning
Diffstat (limited to 'script')
-rw-r--r-- | script/core/diagnostics/not-yieldable.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/not-yieldable.lua b/script/core/diagnostics/not-yieldable.lua index 2f80e4d0..ed853380 100644 --- a/script/core/diagnostics/not-yieldable.lua +++ b/script/core/diagnostics/not-yieldable.lua @@ -25,6 +25,7 @@ local function isYieldAble(defs, i) return not hasFuncDef end +---@async return function (uri, callback) local state = files.getState(uri) if not state then |