diff options
-rw-r--r-- | script/client.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/script/client.lua b/script/client.lua index 0778c08d..12020fe5 100644 --- a/script/client.lua +++ b/script/client.lua @@ -129,12 +129,10 @@ function m.setConfig(changes, onlyMemory) return end if m.getOption 'changeConfiguration' then - for _, change in ipairs(finalChanges) do - proto.notify('$/command', { - command = 'lua.config', - data = change, - }) - end + proto.notify('$/command', { + command = 'lua.config', + data = finalChanges, + }) else local messages = {} messages[1] = lang.script('WINDOW_CLIENT_NOT_SUPPORT_CONFIG') |