aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Vereshchagin <[email protected]>2017-02-12 15:40:41 +0000
committerpatrick brisbin <[email protected]>2017-07-11 15:10:17 +0100
commitbdb471e8a3823648e983d015ce68df456dcd2b99 (patch)
treee1891042116bf42bc80cdfb0183fce7a2c030d09
parent6a2b13690017be37caa5acb05fd90e70da2ecac0 (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.
-rw-r--r--colors/off.vim3
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})
189call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) 189call s:h("htmlH5", {"bg": s:bg, "fg": s:norm})
190call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) 190call s:h("htmlH6", {"bg": s:bg, "fg": s:norm})
191 191
192hi link diffRemoved DiffDelete
193hi link diffAdded DiffAdd
194
192" Signify, git-gutter 195" Signify, git-gutter
193hi link SignifySignAdd LineNr 196hi link SignifySignAdd LineNr
194hi link SignifySignDelete LineNr 197hi link SignifySignDelete LineNr