Fixed nvim gitsign

This commit is contained in:
_N0x 2024-08-03 21:11:29 +02:00
parent 40e646695c
commit 9435d90b0c

View File

@ -4,12 +4,12 @@ if not status_ok then
end end
gitsigns.setup { gitsigns.setup {
signs = { signs = {
add = { hl = 'GitSignsAdd', text = '', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' }, add = { text = "" },
change = { hl = 'GitSignsChange', text = '', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' }, change = { text = "" },
delete = { hl = 'GitSignsDelete', text = '', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' }, delete = { text = "" },
topdelete = { hl = 'GitSignsDelete', text = '', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' }, topdelete = { text = "" },
changedelete = { hl = 'GitSignsChange', text = '~', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' }, changedelete = { text = "" },
}, },
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl` numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
@ -27,9 +27,6 @@ gitsigns.setup {
delay = 1000, delay = 1000,
ignore_whitespace = false, ignore_whitespace = false,
}, },
current_line_blame_formatter_opts = {
relative_time = false,
},
sign_priority = 6, sign_priority = 6,
update_debounce = 100, update_debounce = 100,
status_formatter = nil, -- Use default status_formatter = nil, -- Use default
@ -42,7 +39,4 @@ gitsigns.setup {
row = 0, row = 0,
col = 1 col = 1
}, },
yadm = {
enable = false
},
} }