aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link/syntax/git-diff.vim
blob: 54a97ec0ab3d705d7f2c4cb5f149f81892b94190 (plain)
1
2
3
4
5
6
7
8
runtime syntax/diff.vim

syntax match gitDiffStatLine /^ .\{-}\zs[+-]\+$/ contains=gitDiffStatAdd,gitDiffStatDelete
syntax match gitDiffStatAdd    /+/ contained
syntax match gitDiffStatDelete /-/ contained

highlight gitDiffStatAdd    ctermfg=2
highlight gitDiffStatDelete ctermfg=5