@matheusbsbs / matheus-bagliano / commits / ff7f22f36e
Fork 0

vim syntax: follow recent changes to commit template

This patch changes the syntax highlighting to correctly match the new text of the commit message introduced by 82dca84871637ac9812c0dec27f56d07cfba524c Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jeff King committed Dec 18, 2006 at 02:26 UTC ff7f22f36e2931db7683121f20ee2e03bd426096
1 file changed +2 -2
contrib/vim/syntax/gitcommit.vim
+2 -2
@@ -1,7 +1,7 @@
1 syn region gitLine start=/^#/ end=/$/
2 -syn region gitCommit start=/^# Updated but not checked in:$/ end=/^#$/ contains=gitHead,gitCommitFile
2 +syn region gitCommit start=/^# Added but not yet committed:$/ end=/^#$/ contains=gitHead,gitCommitFile
3 syn region gitHead contained start=/^# (.*)/ end=/^#$/
4 -syn region gitChanged start=/^# Changed but not updated:/ end=/^#$/ contains=gitHead,gitChangedFile
4 +syn region gitChanged start=/^# Changed but not added:/ end=/^#$/ contains=gitHead,gitChangedFile
5 syn region gitUntracked start=/^# Untracked files:/ end=/^#$/ contains=gitHead,gitUntrackedFile
6
7 syn match gitCommitFile contained /^#\t.*/hs=s+2