summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-03-29 15:52:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-03-29 15:52:59 +0800
commit1b6a98259997b8b2a2fb78d54eff21ba510b1f70 (patch)
tree179d9b94abece04d40594de3ace796075b385fa8 /script
parent7156ce8346bf091b39c247a59291a7d4097d78fb (diff)
downloadlua-language-server-1b6a98259997b8b2a2fb78d54eff21ba510b1f70.zip
commandline parameter `checklevel` may not work
Diffstat (limited to 'script')
-rw-r--r--script/cli/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/cli/check.lua b/script/cli/check.lua
index ea767fae..94f34b2a 100644
--- a/script/cli/check.lua
+++ b/script/cli/check.lua
@@ -64,7 +64,7 @@ lclient():start(function (client)
disables[name] = true
end
end
- config.set(nil, 'Lua.diagnostics.disable', util.getTableKeys(disables, true))
+ config.set(rootUri, 'Lua.diagnostics.disable', util.getTableKeys(disables, true))
local uris = files.getAllUris(rootUri)
local max = #uris