vim: install nodejs if copilot is enabled
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
neovim,
|
||||
nodejs,
|
||||
vimPlugins,
|
||||
fetchFromGitHub,
|
||||
vimUtils,
|
||||
@@ -20,7 +21,8 @@ neovim.override {
|
||||
luafile ${writeText "copilot.lua" ''
|
||||
require("copilot").setup({
|
||||
suggestion = { enabled = false },
|
||||
panel = { enabled = false }
|
||||
panel = { enabled = false },
|
||||
copilot_node_command = '${lib.getExe nodejs}'
|
||||
})
|
||||
|
||||
require("copilot_cmp").setup()
|
||||
|
||||
Reference in New Issue
Block a user