2 " Language: git rebase --interactive
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.info>
4 " Filenames: git-rebase-todo
5 " Last Change: 2008 Apr 16
7 if exists("b:current_syntax")
13 syn match gitrebaseHash "\v<\x{7,40}>" contained
14 syn match gitrebaseCommit "\v<\x{7,40}>" nextgroup=gitrebaseSummary skipwhite
15 syn match gitrebasePick "\v^p%(ick)=>" nextgroup=gitrebaseCommit skipwhite
16 syn match gitrebaseEdit "\v^e%(dit)=>" nextgroup=gitrebaseCommit skipwhite
17 syn match gitrebaseSquash "\v^s%(quash)=>" nextgroup=gitrebaseCommit skipwhite
18 syn match gitrebaseSummary ".*" contains=gitrebaseHash contained
19 syn match gitrebaseComment "^#.*" contains=gitrebaseHash
20 syn match gitrebaseSquashError "\v%^s%(quash)=>" nextgroup=gitrebaseCommit skipwhite
22 hi def link gitrebaseCommit gitrebaseHash
23 hi def link gitrebaseHash Identifier
24 hi def link gitrebasePick Statement
25 hi def link gitrebaseEdit PreProc
26 hi def link gitrebaseSquash Type
27 hi def link gitrebaseSummary String
28 hi def link gitrebaseComment Comment
29 hi def link gitrebaseSquashError Error
31 let b:current_syntax = "gitrebase"