Skip to content

Same colors in diff #95

@derzhavin3016

Description

@derzhavin3016

As you can see, DiffChange option, which highlights the whole line with changes has color DiffRedDark, and DiffText option, which highlits the exact part of line that changed has color DiffRedLight

call <sid>hi('DiffChange', {}, s:cdDiffRedDark, 'none', {})
call <sid>hi('DiffDelete', {}, s:cdDiffRedLight, 'none', {})
call <sid>hi('DiffText', {}, s:cdDiffRedLight, 'none', {})

But definitions of these colors refers to the same xterm 256 colors which makes exact diff impossible to find in line

let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'}
let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions