feat: add codecompanion
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
03e25b6d01
commit
c5f4baebab
2 changed files with 36 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
35
plugins/codecompanion.nix
Normal file
35
plugins/codecompanion.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
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_cli";
|
||||
chat.adapter = "gemini_cli";
|
||||
inline.adapter = "gemini_cli";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
gemini-cli
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue