summaryrefslogtreecommitdiff
path: root/contrib/vim
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-01-23 03:21:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-23 04:40:26 (GMT)
commit222664e74dec10303bfa0c99e88f31563fdc6952 (patch)
tree0eb93059b26acdd5c0c9da1dab035098a88e0c3d /contrib/vim
parent90f70a910ac77cab7bc1b9a6c4b233add98a58c7 (diff)
downloadgit-222664e74dec10303bfa0c99e88f31563fdc6952.zip
git-222664e74dec10303bfa0c99e88f31563fdc6952.tar.gz
git-222664e74dec10303bfa0c99e88f31563fdc6952.tar.bz2
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>
Diffstat (limited to 'contrib/vim')
-rw-r--r--contrib/vim/syntax/gitcommit.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/vim/syntax/gitcommit.vim b/contrib/vim/syntax/gitcommit.vim
index d911efb..332121b 100644
--- a/contrib/vim/syntax/gitcommit.vim
+++ b/contrib/vim/syntax/gitcommit.vim
@@ -1,7 +1,7 @@
syn region gitLine start=/^#/ end=/$/
-syn region gitCommit start=/^# Added but not yet committed:$/ end=/^#$/ contains=gitHead,gitCommitFile
+syn region gitCommit start=/^# Changes to be committed:$/ end=/^#$/ contains=gitHead,gitCommitFile
syn region gitHead contained start=/^# (.*)/ end=/^#$/
-syn region gitChanged start=/^# Changed but not added:/ end=/^#$/ contains=gitHead,gitChangedFile
+syn region gitChanged start=/^# Changed but not updated:/ end=/^#$/ contains=gitHead,gitChangedFile
syn region gitUntracked start=/^# Untracked files:/ end=/^#$/ contains=gitHead,gitUntrackedFile
syn match gitCommitFile contained /^#\t.*/hs=s+2