summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md5
-rw-r--r--script/cli/check.lua3
2 files changed, 8 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 35c4c301..ab1a88d4 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,10 @@
# changelog
+## 3.6.22
+* `FIX` [#2038]
+
+[#2038]: https://github.com/LuaLS/lua-language-server/issues/2038
+
## 3.6.21
`2023-5-24`
* `FIX` disable ffi plugin
diff --git a/script/cli/check.lua b/script/cli/check.lua
index 94f34b2a..323ea74b 100644
--- a/script/cli/check.lua
+++ b/script/cli/check.lua
@@ -9,6 +9,7 @@ local lang = require 'language'
local define = require 'proto.define'
local config = require 'config.config'
local fs = require 'bee.filesystem'
+local provider = require 'provider'
require 'vm'
@@ -52,6 +53,8 @@ lclient():start(function (client)
io.write(lang.script('CLI_CHECK_INITING'))
+ provider.updateConfig(rootUri)
+
ws.awaitReady(rootUri)
local disables = util.arrayToHash(config.get(rootUri, 'Lua.diagnostics.disable'))