fix git gutter color
This commit is contained in:
parent
a6e58c28d8
commit
11e2de967a
15
init.lua
15
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', '<leader>gp', require('gitsigns').prev_hunk, { buffer = bufnr, desc = '[G]o to [P]revious Hunk' })
|
||||
|
Loading…
Reference in New Issue
Block a user