neovim-flake/modules/plugins/utility/diffview/config.nix

17 lines
223 B
Nix
Raw Normal View History

2023-03-01 10:08:24 +01:00
{
config,
lib,
...
}: let
2024-03-24 01:14:39 +01:00
inherit (lib.modules) mkIf;
2023-03-01 10:08:24 +01:00
cfg = config.vim.utility.diffview-nvim;
in {
config = mkIf (cfg.enable) {
vim.startPlugins = [
"diffview-nvim"
"plenary-nvim"
];
};
}