plugins/coq-nvim: add alwaysComplete option

This commit is contained in:
jacekpoz 2023-11-30 16:34:58 +01:00 committed by Gaétan Lepage
parent f56d412f84
commit 28fc85484a

View file

@ -27,6 +27,12 @@ in {
default = null; default = null;
description = "Use the recommended keymaps"; description = "Use the recommended keymaps";
}; };
alwaysComplete = mkOption {
type = with types; nullOr bool;
default = null;
description = "Always trigger completion on keystroke";
};
}; };
}; };
config = let config = let
@ -34,6 +40,7 @@ in {
auto_start = cfg.autoStart; auto_start = cfg.autoStart;
"keymap.recommended" = cfg.recommendedKeymaps; "keymap.recommended" = cfg.recommendedKeymaps;
xdg = true; xdg = true;
"completion.always" = cfg.alwaysComplete;
}; };
in in
mkIf cfg.enable { mkIf cfg.enable {