diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 01:25:10 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 01:25:10 -0200 |
commit | 6b9187673ee62d11042832f938913f15131592a7 (patch) | |
tree | 9e70016667efe273a72ab351aafaddbdb099e123 /modules/vim/vim.dot.link/syntax/git-diff.vim | |
parent | 25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff) | |
download | dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.gz dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.bz2 |
Adding metadot script
Diffstat (limited to 'modules/vim/vim.dot.link/syntax/git-diff.vim')
-rw-r--r-- | modules/vim/vim.dot.link/syntax/git-diff.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/vim/vim.dot.link/syntax/git-diff.vim b/modules/vim/vim.dot.link/syntax/git-diff.vim new file mode 100644 index 0000000..54a97ec --- /dev/null +++ b/modules/vim/vim.dot.link/syntax/git-diff.vim @@ -0,0 +1,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 |