feat: make Copilot node package configurable

This commit is contained in:
NotAShelf 2023-05-10 12:11:33 +03:00
commit b996c123e6
No known key found for this signature in database
GPG key ID: 05A3BD53FEB32B81
2 changed files with 11 additions and 3 deletions

View file

@ -23,7 +23,7 @@ in {
config = mkIf cfg.enable {
vim.startPlugins = [
"copilot-lua"
pkgs.nodejs-slim-16_x
cfg.copilotNodePackage
];
vim.luaConfigRC.copilot = nvim.dag.entryAnywhere ''