add gitsigns
This commit is contained in:
parent
7e2b6e5906
commit
3b828b947f
2 changed files with 16 additions and 1 deletions
|
|
@ -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
5
plugins/gitsigns.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
plugins.gitsigns.settings = {
|
||||
current_line_blame = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue