1 syn region gitLine start=/^#/ end=/$/
2 syn region gitCommit start=/^# Updated but not checked in:$/ end=/^#$/ contains=gitHead,gitCommitFile
3 syn region gitHead contained start=/^# (.*)/ end=/^#$/
4 syn region gitChanged start=/^# Changed but not updated:/ end=/^#$/ contains=gitHead,gitChangedFile
5 syn region gitUntracked start=/^# Untracked files:/ end=/^#$/ contains=gitHead,gitUntrackedFile
7 syn match gitCommitFile contained /^#\t.*/hs=s+2
8 syn match gitChangedFile contained /^#\t.*/hs=s+2
9 syn match gitUntrackedFile contained /^#\t.*/hs=s+2
11 hi def link gitLine Comment
12 hi def link gitCommit Comment
13 hi def link gitChanged Comment
14 hi def link gitHead Comment
15 hi def link gitUntracked Comment
16 hi def link gitCommitFile Type
17 hi def link gitChangedFile Constant
18 hi def link gitUntrackedFile Constant