diff options
-rw-r--r-- | server/src/method/workspace/executeCommand.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/method/workspace/executeCommand.lua b/server/src/method/workspace/executeCommand.lua index 5a8612c5..17f8b2c2 100644 --- a/server/src/method/workspace/executeCommand.lua +++ b/server/src/method/workspace/executeCommand.lua @@ -64,7 +64,10 @@ function command.config(lsp, data) if attr == nil then attr = {} elseif type(attr) == 'string' then - attr = {attr} + attr = {} + for str in attr:gmatch '[^;]+' do + attr[#attr+1] = str + end elseif type(attr) == 'table' then else return |