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

22 lines
304 B
Nix
Raw Normal View History

2023-03-01 10:08:24 +01:00
{
pkgs,
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.utility.diffview-nvim;
in {
config = mkIf (cfg.enable) {
vim.startPlugins = [
"diffview-nvim"
"plenary-nvim"
];
vim.luaConfigRC.diffview-nvim =
nvim.dag.entryAnywhere ''
'';
};
}