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