Fix deprecated highlight config for gitsigns (#2078)

This commit is contained in:
georgejean 2023-06-01 18:09:14 +02:00 committed by GitHub
parent 9c10201ef3
commit d72d935b35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,12 +51,12 @@ end
M.gitsigns = { M.gitsigns = {
signs = { signs = {
add = { hl = "DiffAdd", text = "", numhl = "GitSignsAddNr" }, add = { text = '' },
change = { hl = "DiffChange", text = "", numhl = "GitSignsChangeNr" }, change = { text = '' },
delete = { hl = "DiffDelete", text = "󰍵", numhl = "GitSignsDeleteNr" }, delete = { text = '󰍵' },
topdelete = { hl = "DiffDelete", text = "", numhl = "GitSignsDeleteNr" }, topdelete = { text = '' },
changedelete = { hl = "DiffChangeDelete", text = "~", numhl = "GitSignsChangeNr" }, changedelete = { text = '~' },
untracked = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, untracked = { text = '' },
}, },
on_attach = function(bufnr) on_attach = function(bufnr)
utils.load_mappings("gitsigns", { buffer = bufnr }) utils.load_mappings("gitsigns", { buffer = bufnr })