diff options
author | Paul Emmerich <tandanu@deadlybossmods.com> | 2024-05-13 19:34:06 +0200 |
---|---|---|
committer | Paul Emmerich <tandanu@deadlybossmods.com> | 2024-05-13 19:34:06 +0200 |
commit | fd48abd125bfc77f9f4bec5e308d2d668fe7baac (patch) | |
tree | 7281aab5f5de566578360d89348c7320f76cb433 /script | |
parent | 0df588358e9343ff50f1d68b12d971e50bbe7e7d (diff) | |
download | lua-language-server-fd48abd125bfc77f9f4bec5e308d2d668fe7baac.zip |
Disable await.delay() when running --check
This makes --check about 25% faster.
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 { |