]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
after/syntax/diff.vim: Add highlights for GVim.
authorSimon Ruderich <simon@ruderich.org>
Sun, 30 Dec 2012 22:14:28 +0000 (23:14 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 30 Dec 2012 22:17:27 +0000 (23:17 +0100)
vim/after/syntax/diff.vim

index f2b7371e2a9cd6f22d2be257c03c83276961a9ec..7815f08101958af6e37e959eedbc9a71acba86fc 100644 (file)
@@ -28,8 +28,8 @@ syntax match diffRemoved /^--- .*$/
 syntax match diffHunk    /^@.*$/ contains=diffSubname
 
 " Special colors for filename and hunk.
-highlight diffFile    ctermfg=yellow  cterm=bold
-highlight diffHunk    ctermfg=magenta cterm=bold
+highlight diffFile    ctermfg=yellow  cterm=bold  guifg=yellow  gui=bold
+highlight diffHunk    ctermfg=magenta cterm=bold  guifg=magenta gui=bold
 " Added lines in green, removed lines in red.
-highlight diffAdded   ctermfg=green   cterm=bold
-highlight diffRemoved ctermfg=red     cterm=bold
+highlight diffAdded   ctermfg=green   cterm=bold  guifg=green   gui=bold
+highlight diffRemoved ctermfg=red     cterm=bold  guifg=red     gui=bold