Use gitsigns conf instead

This commit is contained in:
Nicky Obreykov 2025-03-07 11:48:04 +01:00
parent 2d7018717b
commit 4fa6ece95e
2 changed files with 24 additions and 23 deletions

View file

@ -6,6 +6,29 @@ return {
{
'lewis6991/gitsigns.nvim',
opts = {
signs = {
add = { text = '' },
change = { text = '' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
untracked = { text = '' },
},
signs_staged = {
add = { text = '' },
change = { text = '' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
untracked = { text = '' },
},
current_line_blame = true,
current_line_blame_opts = {
virt_text_pos = 'right_align',
delay = 300,
},
on_attach = function(bufnr)
local gitsigns = require 'gitsigns'