[fix] If win32 then use proper node.exe path
This commit is contained in:
@@ -90,7 +90,13 @@ vim.g.coq_settings = {
|
||||
-- vim.g.rooter_manual_only = 1
|
||||
|
||||
local fnm_dir = os.getenv("FNM_DIR") or "/Users/fs0c131y/Library/Application Support/fnm"
|
||||
vim.g.copilot_node_command = fnm_dir .. "/node-versions/v17.9.1/installation/bin/node"
|
||||
|
||||
if vim.fn.has('win32') then
|
||||
vim.g.copilot_node_command = fnm_dir .. "/node-versions/v17.9.1/installation/node.exe"
|
||||
else
|
||||
vim.g.copilot_node_command = fnm_dir .. "/node-versions/v17.9.1/installation/bin/node"
|
||||
end
|
||||
|
||||
vim.g.copilot_no_tab_map = true
|
||||
|
||||
require('keymaps')
|
||||
|
||||
Reference in New Issue
Block a user