dev (refactor): siplified git and diff relation in the mapper

dev-doc
Pocco81 3 years ago
parent 4ec76d7671
commit 656e698995

@ -138,15 +138,14 @@ local function get_base()
illuminatedWord = { bg = cpt.fg_gutter }, illuminatedWord = { bg = cpt.fg_gutter },
illuminatedCurWord = { bg = cpt.fg_gutter }, illuminatedCurWord = { bg = cpt.fg_gutter },
-- diff -- diff
diffAdded = { fg = cpt.git.add }, diffAdded = { fg = cpt.diff.add },
diffRemoved = { fg = cpt.git.delete }, diffRemoved = { fg = cpt.diff.remove },
diffChanged = { fg = cpt.git.change }, diffChanged = { fg = cpt.diff.change },
diffOldFile = { fg = cpt.yellow }, diffOldFile = { fg = cpt.yellow },
diffNewFile = { fg = cpt.orange }, diffNewFile = { fg = cpt.orange },
diffFile = { fg = cpt.blue }, diffFile = { fg = cpt.blue },
diffLine = { fg = cpt.comment }, diffLine = { fg = cpt.comment },
diffIndexLine = { fg = cpt.magenta }, diffIndexLine = { fg = cpt.magenta },
-- git diff
DiffAdd = { fg = cpt.diff.add, bg = cpt.bg }, -- diff mode: Added line |diff.txt| DiffAdd = { fg = cpt.diff.add, bg = cpt.bg }, -- diff mode: Added line |diff.txt|
DiffChange = { fg = cpt.diff.change, bg = cpt.bg }, -- diff mode: Changed line |diff.txt| DiffChange = { fg = cpt.diff.change, bg = cpt.bg }, -- diff mode: Changed line |diff.txt|
DiffDelete = { fg = cpt.diff.delete, bg = cpt.bg }, -- diff mode: Deleted line |diff.txt| DiffDelete = { fg = cpt.diff.delete, bg = cpt.bg }, -- diff mode: Deleted line |diff.txt|

Loading…
Cancel
Save