Mercurial > vim
diff runtime/syntax/gitrebase.vim @ 3465:161d01cbb165
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 13 Apr 2012 23:04:47 +0200 |
parents | f7579a31705c |
children | 2eb30f341e8d |
line wrap: on
line diff
--- a/runtime/syntax/gitrebase.vim +++ b/runtime/syntax/gitrebase.vim @@ -2,7 +2,7 @@ " Language: git rebase --interactive " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " Filenames: git-rebase-todo -" Last Change: 2010 May 21 +" Last Change: 2012 April 7 if exists("b:current_syntax") finish @@ -17,7 +17,9 @@ syn match gitrebaseReword "\v^r%(eword syn match gitrebaseEdit "\v^e%(dit)=>" nextgroup=gitrebaseCommit skipwhite syn match gitrebaseSquash "\v^s%(quash)=>" nextgroup=gitrebaseCommit skipwhite syn match gitrebaseFixup "\v^f%(ixup)=>" nextgroup=gitrebaseCommit skipwhite +syn match gitrebaseExec "\v^%(x|exec)>" nextgroup=gitrebaseCommand skipwhite syn match gitrebaseSummary ".*" contains=gitrebaseHash contained +syn match gitrebaseCommand ".*" contained syn match gitrebaseComment "^#.*" contains=gitrebaseHash syn match gitrebaseSquashError "\v%^%(s%(quash)=>|f%(ixup)=>)" nextgroup=gitrebaseCommit skipwhite @@ -28,6 +30,7 @@ hi def link gitrebaseReword Numb hi def link gitrebaseEdit PreProc hi def link gitrebaseSquash Type hi def link gitrebaseFixup Special +hi def link gitrebaseExec Function hi def link gitrebaseSummary String hi def link gitrebaseComment Comment hi def link gitrebaseSquashError Error