summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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