Skip to content

Commit 92d5f7b

Browse files
committed
codecompanion: extension support
1 parent 0383311 commit 92d5f7b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/release-notes/rl-0.8.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,3 +492,7 @@
492492
- Fix default [blink.cmp] sources "path" and "buffer" not working when
493493
`autocomplete.nvim-cmp.enable` was disabled and
494494
`autocomplete.nvim-cmp.sources` had not been modified.
495+
496+
[midischwarz12](https://github.com/midischwarz12):
497+
498+
- 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)