mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
feat: bundle nodejs_16 slim with copilot & move copilot to maximal
This commit is contained in:
parent
71f4c7ecd4
commit
107b572e1c
2 changed files with 7 additions and 3 deletions
|
@ -148,8 +148,8 @@ inputs: let
|
|||
};
|
||||
|
||||
vim.assistant = {
|
||||
copilot.enable = false;
|
||||
tabnine.enable = false; # FIXME: this is not working because the plugin depends on an internal script to be ran by the package manager
|
||||
copilot.enable = isMaximal;
|
||||
#tabnine.enable = false; # FIXME: this is not working because the plugin depends on an internal script to be ran by the package manager
|
||||
};
|
||||
|
||||
vim.session = {
|
||||
|
|
|
@ -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}",
|
||||
})
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue