Skip to content

Commit

Permalink
add fugitive
Browse files Browse the repository at this point in the history
  • Loading branch information
emattiza committed Sep 18, 2023
1 parent d847ebe commit 27d04a8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@
url = "github:kyazdani42/nvim-web-devicons";
flake = false;
};
fugitive = {
url = "github:tpope/vim-fugitive";
flake = false;
};
gitsigns-nvim = {
url = "github:lewis6991/gitsigns.nvim";
flake = false;
Expand Down Expand Up @@ -271,6 +275,7 @@
"nvim-treesitter-context"
"nvim-treesitter-playground"
"gitsigns-nvim"
"fugitive"
"plenary-nvim"
"nvim-lspconfig"
"nvim-treesitter"
Expand Down
4 changes: 2 additions & 2 deletions modules/git/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ in {
in {
vim.startPlugins = with pkgs.neovimPlugins;
if (cfg.gitsigns.enable)
then [gitsigns-nvim]
else [];
then [gitsigns-nvim fugitive]
else [fugitive];

vim.luaConfigRC = mkIf (cfg.gitsigns.enable) ''
-- GitSigns setup
Expand Down

0 comments on commit 27d04a8

Please sign in to comment.