diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2024-05-16 20:23:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 20:23:32 +0800 |
commit | 27c49b2ff6a5ed98329813f88c9e68cbb06b0f5b (patch) | |
tree | 903140c2c4401f1e9441d43ec42c672c0c63eada /script | |
parent | 5093bca814e5f3471b1be28f1c9d71d6be388e60 (diff) | |
parent | fd48abd125bfc77f9f4bec5e308d2d668fe7baac (diff) | |
download | lua-language-server-27c49b2ff6a5ed98329813f88c9e68cbb06b0f5b.zip |
Merge pull request #2664 from emmericp/faster-checks
Disable await.delay() when running --check
Diffstat (limited to 'script')
-rw-r--r-- | script/cli/check_worker.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/cli/check_worker.lua b/script/cli/check_worker.lua index f8be88d6..0a121344 100644 --- a/script/cli/check_worker.lua +++ b/script/cli/check_worker.lua @@ -11,6 +11,7 @@ local protoDiag = require 'proto.diagnostic' local config = require 'config.config' local fs = require 'bee.filesystem' local provider = require 'provider' +local await = require 'await' require 'plugin' require 'vm' @@ -61,6 +62,7 @@ end ---@async xpcall(lclient.start, errorhandler, lclient, function (client) + await.disable() client:registerFakers() client:initialize { |