neovim-flake/modules/utility/diffview/config.nix
2024-03-23 20:31:33 -04:00

16 lines
223 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.utility.diffview-nvim;
in {
config = mkIf (cfg.enable) {
vim.startPlugins = [
"diffview-nvim"
"plenary-nvim"
];
};
}