diff --git a/init.lua b/init.lua index bacfb78..124e730 100644 --- a/init.lua +++ b/init.lua @@ -122,11 +122,16 @@ require('lazy').setup({ opts = { -- See `:help gitsigns.txt` signs = { - add = { text = '+' }, - change = { text = '~' }, - delete = { text = '_' }, - topdelete = { text = '‾' }, - changedelete = { text = '~' }, + -- add = { text = '+' }, + -- change = { text = '~' }, + -- delete = { text = '_' }, + -- topdelete = { text = '‾' }, + -- changedelete = { text = '~' }, + add = {hl = 'GitGutterAdd' , text = '+'}, + change = {hl = 'GitGutterChange', text = '~'}, + delete = {hl = 'GitGutterDelete', text = '_'}, + topdelete = {hl = 'GitGutterDelete', text = '‾'}, + changedelete = {hl = 'GitGutterChange', text = '~'}, }, on_attach = function(bufnr) vim.keymap.set('n', 'gp', require('gitsigns').prev_hunk, { buffer = bufnr, desc = '[G]o to [P]revious Hunk' })