neovim-flake/modules/plugins/git/vim-fugitive/config.nix

14 lines
182 B
Nix
Raw Normal View History

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