fix: honor prepended Whether to enable

This commit is contained in:
Ladas552 2025-08-10 18:30:25 +05:00
commit ae4698ca35

View file

@ -5,7 +5,7 @@
in { in {
options.vim.assistant = { options.vim.assistant = {
avante-nvim = { avante-nvim = {
enable = mkEnableOption "Complementary Neovim plugin for avante.nvim"; enable = mkEnableOption "complementary Neovim plugin for avante.nvim";
setupOpts = mkPluginSetupOption "avante-nvim" { setupOpts = mkPluginSetupOption "avante-nvim" {
provider = mkOption { provider = mkOption {
type = nullOr str; type = nullOr str;
@ -109,7 +109,7 @@ in {
behaviour = { behaviour = {
auto_suggestions = auto_suggestions =
mkEnableOption "Auto suggestions."; mkEnableOption "auto suggestions.";
auto_set_highlight_group = mkOption { auto_set_highlight_group = mkOption {
type = bool; type = bool;
@ -124,10 +124,10 @@ in {
}; };
auto_apply_diff_after_generation = auto_apply_diff_after_generation =
mkEnableOption "Automatically apply diff after LLM response."; mkEnableOption "automatically apply diff after LLM response.";
support_paste_from_clipboard = mkEnableOption '' support_paste_from_clipboard = mkEnableOption ''
Pasting image from clipboard. pasting image from clipboard.
This will be determined automatically based whether img-clip is available or not. This will be determined automatically based whether img-clip is available or not.
''; '';