1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/coverage/deprecations.nix
2025-10-12 04:08:02 +00:00

25 lines
582 B
Nix

lib: {
deprecateExtraOptions = true;
optionsRenamedToSettings = [
"autoReload"
"autoReloadTimeoutMs"
"commands"
"highlights"
"loadCoverageCb"
"signs"
];
imports =
let
basePluginsPath = [
"plugins"
"coverage"
];
message = ''
Use nixvim top-level `keyamps` option to manually declare your 'nvim-coverage' keymaps.
'';
in
[
(lib.mkRemovedOptionModule (basePluginsPath ++ [ "keymaps" ]) message)
(lib.mkRemovedOptionModule (basePluginsPath ++ [ "keymapsSilent" ]) message)
];
}