summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-08 16:11:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-08 16:11:38 +0800
commit8356a0494c0ec696b7017406e1c06b4277f6acbd (patch)
treee213025a7e91f7956edd460e6bf8279fb53a15f5 /script
parent93abb07995244becd028828c1bfb9ee4a76ca7f9 (diff)
downloadlua-language-server-8356a0494c0ec696b7017406e1c06b4277f6acbd.zip
resolve warning
Diffstat (limited to 'script')
-rw-r--r--script/core/diagnostics/not-yieldable.lua1
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