diff options
author | Dmitri Vereshchagin <[email protected]> | 2017-02-12 15:40:41 +0000 |
---|---|---|
committer | patrick brisbin <[email protected]> | 2017-07-11 15:10:17 +0100 |
commit | bdb471e8a3823648e983d015ce68df456dcd2b99 (patch) | |
tree | e1891042116bf42bc80cdfb0183fce7a2c030d09 /colors | |
parent | 6a2b13690017be37caa5acb05fd90e70da2ecac0 (diff) |
Add colors to diff
Highlighting in diff files is essential. This minimal solution uses
vimdiff highlighting groups. So it will be messy to compare two diffs.
But it's pretty rare case.
Diffstat (limited to 'colors')
-rw-r--r-- | colors/off.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/colors/off.vim b/colors/off.vim index 8af12e3..142bbb5 100644 --- a/colors/off.vim +++ b/colors/off.vim | |||
@@ -189,6 +189,9 @@ call s:h("htmlH4", {"bg": s:bg, "fg": s:norm}) | |||
189 | call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) | 189 | call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) |
190 | call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) | 190 | call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) |
191 | 191 | ||
192 | hi link diffRemoved DiffDelete | ||
193 | hi link diffAdded DiffAdd | ||
194 | |||
192 | " Signify, git-gutter | 195 | " Signify, git-gutter |
193 | hi link SignifySignAdd LineNr | 196 | hi link SignifySignAdd LineNr |
194 | hi link SignifySignDelete LineNr | 197 | hi link SignifySignDelete LineNr |