feat: bundle nodejs_16 slim with copilot & move copilot to maximal

This commit is contained in:
NotAShelf 2023-02-15 11:47:08 +03:00
commit 107b572e1c
No known key found for this signature in database
GPG key ID: 5B5C8895F28445F1
2 changed files with 7 additions and 3 deletions

View file

@ -13,11 +13,15 @@ in {
};
config = mkIf cfg.enable {
vim.startPlugins = ["copilot-lua"];
vim.startPlugins = [
"copilot-lua"
pkgs.nodejs-slim-16_x
];
vim.luaConfigRC.copilot = nvim.dag.entryAnywhere ''
require("copilot").setup({
-- available options: https://github.com/zbirenbaum/copilot.lua
copilot_node_command = "${lib.getExe pkgs.nodejs-slim-16_x}",
})
'';
};