[PATCH] vim syntax: highlight the diff in commit message template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The template generated by 'git commit -v' is much easier to read now.

Signed-off-by: SZEDER Gábor <szeder@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux