summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-17 15:56:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-17 15:56:29 +0800
commit390629bffb0228cdfc3581478db2732972a040ca (patch)
tree3bda8e448b18595e38a3fdb9a088b89bac8dfb27 /script/provider/provider.lua
parent194297fdb297a988ac7f3cf92fc9b0c5a8e1d2d3 (diff)
downloadlua-language-server-390629bffb0228cdfc3581478db2732972a040ca.zip
support multi configs modifying
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index f9f5fa29..e77efb7c 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -991,7 +991,7 @@ m.register 'workspace/executeCommand' {
return core(params.arguments[1])
elseif command == 'lua.setConfig' then
local core = require 'core.command.setConfig'
- return core(params.arguments[1])
+ return core(params.arguments)
elseif command == 'lua.autoRequire' then
local core = require 'core.command.autoRequire'
return core(params.arguments[1])