summaryrefslogtreecommitdiff
path: root/server/src/method/workspace
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/workspace')
-rw-r--r--server/src/method/workspace/executeCommand.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/method/workspace/executeCommand.lua b/server/src/method/workspace/executeCommand.lua
index 17f8b2c2..f22590d5 100644
--- a/server/src/method/workspace/executeCommand.lua
+++ b/server/src/method/workspace/executeCommand.lua
@@ -75,6 +75,8 @@ function command.config(lsp, data)
attr[#attr+1] = data.value
setting[key] = attr
+ elseif data.action == 'set' then
+ setting[key] = data.value
end
io.save(vscodePath / 'settings.json', json.encode(setting) .. '\r\n')