Skip to content

Commit f7bacd9

Browse files
authored
fix: splitting of copilot_node_command (#545)
1 parent 0753a44 commit f7bacd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/copilot/lsp/nodejs.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ end
9595

9696
---@return table
9797
function M.get_execute_command()
98-
local cmd = vim.split(M.node_command, " ")
98+
local cmd = { M.node_command }
9999
table.insert(cmd, M.server_path or M.get_server_path())
100100
table.insert(cmd, "--stdio")
101101
return cmd

0 commit comments

Comments
 (0)