mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-10 02:51:07 +01:00
plugins/aider: init
This commit is contained in:
parent
f5026663f6
commit
63496f00c6
2 changed files with 80 additions and 0 deletions
31
plugins/by-name/aider/default.nix
Normal file
31
plugins/by-name/aider/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
|
name = "aider";
|
||||||
|
package = "aider-nvim";
|
||||||
|
packPathName = "aider.nvim";
|
||||||
|
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
c4patino
|
||||||
|
];
|
||||||
|
|
||||||
|
settingsExample = {
|
||||||
|
auto_manage_context = false;
|
||||||
|
default_bindings = false;
|
||||||
|
debug = true;
|
||||||
|
vim = true;
|
||||||
|
ignore_buffers = [ ];
|
||||||
|
border = {
|
||||||
|
style = [
|
||||||
|
"╭"
|
||||||
|
"─"
|
||||||
|
"╮"
|
||||||
|
"│"
|
||||||
|
"╯"
|
||||||
|
"─"
|
||||||
|
"╰"
|
||||||
|
"│"
|
||||||
|
];
|
||||||
|
color = "#fab387";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
49
tests/test-sources/plugins/by-name/aider/default.nix
Normal file
49
tests/test-sources/plugins/by-name/aider/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.aider.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
plugins.aider = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
auto_manage_context = true;
|
||||||
|
default_bindings = true;
|
||||||
|
debug = false;
|
||||||
|
ignore_buffers = [
|
||||||
|
"^term://"
|
||||||
|
"NeogitConsole"
|
||||||
|
"NvimTree_"
|
||||||
|
"neo-tree filesystem"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
example = {
|
||||||
|
plugins.aider = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
auto_manage_context = false;
|
||||||
|
default_bindings = false;
|
||||||
|
debug = true;
|
||||||
|
vim = true;
|
||||||
|
ignore_buffers = [ ];
|
||||||
|
border = {
|
||||||
|
style = [
|
||||||
|
"╭"
|
||||||
|
"─"
|
||||||
|
"╮"
|
||||||
|
"│"
|
||||||
|
"╯"
|
||||||
|
"─"
|
||||||
|
"╰"
|
||||||
|
"│"
|
||||||
|
];
|
||||||
|
color = "#fab387";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue