Skip to content

Commit dcde353

Browse files
committed
codecompanion: extension support
1 parent bf485ab commit dcde353

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/release-notes/rl-0.8.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,3 +499,7 @@
499499

500500
- Add [nvim-highlight-colors] plugin in `vim.ui.nvim-highlight-colors` with
501501
`enable` and `setupOpts`
502+
503+
[midischwarz12](https://github.com/midischwarz12):
504+
505+
- Add extension support for [codecompanion-nvim].

modules/plugins/assistant/codecompanion/codecompanion-nvim.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
inherit (lib.options) mkOption mkEnableOption;
33
inherit (lib.types) int str enum nullOr attrs;
44
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
5+
inherit (lib.generators) mkLuaInline;
56
in {
67
options.vim.assistant = {
78
codecompanion-nvim = {
@@ -295,6 +296,12 @@ in {
295296
that can be used in the action palette.
296297
'';
297298
};
299+
300+
extensions = mkOption {
301+
type = luaInline;
302+
default = mkLuaInline "{}";
303+
description = "Extensions for codecompanion";
304+
};
298305
};
299306
};
300307
};

0 commit comments

Comments
 (0)