summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/await-in-sync.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/await-in-sync.lua
parent5cd171f682ec7f80459741c381a7ca52c1ea1aaf (diff)
downloadlua-language-server-ed6011c30754bfaa646f5a9a819f20f1f32cbfba.zip
update async mark
Diffstat (limited to 'script/core/diagnostics/await-in-sync.lua')
-rw-r--r--script/core/diagnostics/await-in-sync.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/await-in-sync.lua b/script/core/diagnostics/await-in-sync.lua
index dffb994d..167e0942 100644
--- a/script/core/diagnostics/await-in-sync.lua
+++ b/script/core/diagnostics/await-in-sync.lua
@@ -4,6 +4,7 @@ local vm = require 'vm'
local lang = require 'language'
local await = require 'await'
+---@async
return function (uri, callback)
local state = files.getState(uri)
if not state then