@matheusbsbs / matheus-bagliano / commits / 222664e74d
Fork 0

contrib/vim: update syntax for changed commit template

Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jeff King committed Jan 22, 2007 at 22:21 UTC 222664e74dec10303bfa0c99e88f31563fdc6952
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=/^# Added but not yet committed:$/ end=/^#$/ contains=gitHead,gitCommitFile
2 +syn region gitCommit start=/^# Changes to be committed:$/ end=/^#$/ contains=gitHead,gitCommitFile
3 syn region gitHead contained start=/^# (.*)/ end=/^#$/
4 -syn region gitChanged start=/^# Changed but not added:/ end=/^#$/ contains=gitHead,gitChangedFile
4 +syn region gitChanged start=/^# Changed but not updated:/ 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