mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01:00
21 lines
418 B
Nix
21 lines
418 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.vim;
|
|
in {
|
|
assertions = mkMerge [
|
|
{
|
|
assertion = cfg.kommentary.enable;
|
|
message = "Kommentary has been deprecated in favor of comments-nvim";
|
|
}
|
|
mkIf
|
|
(config.programs.neovim-flake.enable)
|
|
{
|
|
assertion = !config.programs.neovim.enable;
|
|
message = "You cannot use neovim-flake together with vanilla neovim.";
|
|
}
|
|
];
|
|
}
|