summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/unused-function.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-03 16:18:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-03 16:18:37 +0800
commited6011c30754bfaa646f5a9a819f20f1f32cbfba (patch)
tree79fbe6caa29ae29e6898a5f40fec3f0904293ea4 /script/core/diagnostics/unused-function.lua
parent5cd171f682ec7f80459741c381a7ca52c1ea1aaf (diff)
downloadlua-language-server-ed6011c30754bfaa646f5a9a819f20f1f32cbfba.zip
update async mark
Diffstat (limited to 'script/core/diagnostics/unused-function.lua')
-rw-r--r--script/core/diagnostics/unused-function.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/unused-function.lua b/script/core/diagnostics/unused-function.lua
index ada4a23d..0e0c0003 100644
--- a/script/core/diagnostics/unused-function.lua
+++ b/script/core/diagnostics/unused-function.lua
@@ -18,6 +18,7 @@ local function isToBeClosed(source)
return false
end
+---@async
return function (uri, callback)
local ast = files.getState(uri)
if not ast then