mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
plugins/coq-nvim: remove settings.auto_start option
It's removed & deprecated in upstream's v2 plugin.
This commit is contained in:
committed by
Austin Horstman
parent
6542cdf36e
commit
047bffb020
@@ -4,7 +4,6 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) types;
|
||||
inherit (lib.nixvim) defaultNullOpts;
|
||||
in
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
@@ -31,10 +30,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||
|
||||
callSetup = false;
|
||||
settingsOptions = {
|
||||
auto_start = lib.nixvim.mkNullOrOption (
|
||||
with types; maybeRaw (either bool (enum [ "shut-up" ]))
|
||||
) "Auto-start or shut up";
|
||||
|
||||
keymap.recommended = defaultNullOpts.mkBool true "Use the recommended keymaps";
|
||||
|
||||
completion.always = defaultNullOpts.mkBool true "Always trigger completion on keystroke";
|
||||
|
||||
@@ -15,5 +15,10 @@ in
|
||||
assertion = !(cfg.settings ? xdg);
|
||||
message = "xdg has been removed in v2. The field is ignored — delete it from `${opts.settings}`.";
|
||||
}
|
||||
# TODO: Added 2026-06-15; remove after 27.11
|
||||
{
|
||||
assertion = !(cfg.settings ? auto_start);
|
||||
message = "auto_start has been removed in v2. The field is ignored — delete it from `${opts.settings}`.";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
auto_start = true;
|
||||
keymap.recommended = true;
|
||||
completion.always = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user