mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/coq-nvim: add alwaysComplete option
This commit is contained in:
parent
f56d412f84
commit
28fc85484a
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue