feat: add codecompanion

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-20 18:05:17 +01:00
parent 03e25b6d01
commit b4c1a7bcce
Signed by: lander
GPG key ID: 0142722B4B0C536F
2 changed files with 31 additions and 0 deletions

View file

@ -21,6 +21,7 @@ let
coreModules = bareModules ++ [
self.myvimPlugins.autosession
self.myvimPlugins.blink-cmp
self.myvimPlugins.codecompanion
self.myvimPlugins.git
self.myvimPlugins.lang
self.myvimPlugins.lsp

30
plugins/codecompanion.nix Normal file
View file

@ -0,0 +1,30 @@
{
plugins.codecompanion = {
enable = true;
settings = {
display = {
action_palette = {
opts = {
show_default_prompt_library = true;
};
provider = "default";
};
chat = {
window = {
layout = "vertical";
opts = {
breakindent = true;
};
};
};
};
strategies = {
agent.adapter = "gemini";
chat.adapter = "gemini";
inline.adapter = "gemini";
};
};
};
}