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