diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-02 19:25:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-02 19:25:37 +0800 |
commit | 36a5c10b00160c85a8c29170b5d5de8b27b4a5c9 (patch) | |
tree | f6db7d3d69bc24fecf16f3a3439d489dc5c43bf9 /test/full | |
parent | c16264eac3b25f6f2bce14b0504071787bd2bc54 (diff) | |
download | lua-language-server-36a5c10b00160c85a8c29170b5d5de8b27b4a5c9.zip |
mark async
Diffstat (limited to 'test/full')
-rw-r--r-- | test/full/example.lua | 1 | ||||
-rw-r--r-- | test/full/projects.lua | 1 | ||||
-rw-r--r-- | test/full/self.lua | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/test/full/example.lua b/test/full/example.lua index 20de5528..0505f1a5 100644 --- a/test/full/example.lua +++ b/test/full/example.lua @@ -8,6 +8,7 @@ local luadoc = require "parser.luadoc" local noder = require 'core.noder' -- 临时 +---@diagnostic disable: await-in-sync local function testIfExit(path) config.set('Lua.workspace.preloadFileSize', 1000000000) local buf = util.loadFile(path:string()) diff --git a/test/full/projects.lua b/test/full/projects.lua index 316b554d..36d80baa 100644 --- a/test/full/projects.lua +++ b/test/full/projects.lua @@ -9,6 +9,7 @@ local fs = require 'bee.filesystem' config.set('Lua.workspace.preloadFileSize', 1000000) config.set('Lua.diagnostics.neededFileStatus', {}) +---@diagnostic disable: await-in-sync local function doProjects(pathname) files.removeAll() diff --git a/test/full/self.lua b/test/full/self.lua index 63e76d9a..67537a54 100644 --- a/test/full/self.lua +++ b/test/full/self.lua @@ -25,6 +25,7 @@ diag.start() local clock = os.clock() +---@diagnostic disable: await-in-sync for uri in files.eachFile() do local fileClock = os.clock() diag.doDiagnostic(uri) |