Skip to content

Commit 831a5be

Browse files
committed
explicitly pass node for windows compat
1 parent 917e8ae commit 831a5be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/copilot/copilot_handler.lua

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

2424
M.merge_server_opts = function (params)
2525
return vim.tbl_deep_extend("force", {
26-
cmd = { require("copilot.util").get_copilot_path(params.plugin_manager_path) },
26+
cmd = { "node", require("copilot.util").get_copilot_path(params.plugin_manager_path) },
2727
name = "copilot",
2828
trace = "messages",
2929
root_dir = vim.loop.cwd(),

0 commit comments

Comments
 (0)