diff --git a/packages/default.nix b/packages/default.nix index 52dba12..f01eafb 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -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 diff --git a/plugins/codecompanion.nix b/plugins/codecompanion.nix new file mode 100644 index 0000000..2268b86 --- /dev/null +++ b/plugins/codecompanion.nix @@ -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"; + }; + }; + }; +}