mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
25 lines
582 B
Nix
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)
|
|
];
|
|
}
|