[PATCH] vim syntax: highlight the diff in commit message template
The template generated by 'git commit -v' is much easier to read now.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
contrib/vim/syntax/gitcommit.vim | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/contrib/vim/syntax/gitcommit.vim b/contrib/vim/syntax/gitcommit.vim
index 332121b..0872e65 100644
--- a/contrib/vim/syntax/gitcommit.vim
+++ b/contrib/vim/syntax/gitcommit.vim
@@ -16,3 +16,5 @@ hi def link gitUntracked Comment
hi def link gitCommitFile Type
hi def link gitChangedFile Constant
hi def link gitUntrackedFile Constant
+
+source $VIMRUNTIME/syntax/diff.vim
--
1.6.0.2.323.gb1a20