add gitsigns

This commit is contained in:
Osman Faruk Bayram 2025-03-16 21:23:26 +03:00
parent 7e2b6e5906
commit 3b828b947f
2 changed files with 16 additions and 1 deletions

View file

@ -1,6 +1,13 @@
{
# settings of these plugins live in their respective files
imports = [./cmp.nix ./lsp.nix ./mini.nix ./oil.nix ./treesitter.nix];
imports = [
./cmp.nix
./gitsigns.nix
./lsp.nix
./mini.nix
./oil.nix
./treesitter.nix
];
plugins = {
# todo comments highlighter
@ -47,5 +54,8 @@
# add buffer tab plugin
bufferline.enable = true;
# git integration
gitsigns.enable = true;
};
}

5
plugins/gitsigns.nix Normal file
View file

@ -0,0 +1,5 @@
{
plugins.gitsigns.settings = {
current_line_blame = true;
};
}