annotate runtime/syntax/gitrebase.vim @ 9001:57b791947796 v7.4.1786

commit https://github.com/vim/vim/commit/d10abe52019d10403eb559ea0a424bbd310b738f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 24 15:41:33 2016 +0200 patch 7.4.1786 Problem: Compiled-in colors do not match rgb.txt. Solution: Use the rgb.txt colors. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Apr 2016 15:45:04 +0200
parents 2eb30f341e8d
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim syntax file
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
2 " Language: git rebase --interactive
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1620
diff changeset
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
4 " Filenames: git-rebase-todo
4681
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 3465
diff changeset
5 " Last Change: 2013 May 30
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
6
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
7 if exists("b:current_syntax")
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
8 finish
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
9 endif
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
10
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
11 syn case match
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
12
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
13 syn match gitrebaseHash "\v<\x{7,40}>" contained
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
14 syn match gitrebaseCommit "\v<\x{7,40}>" nextgroup=gitrebaseSummary skipwhite
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
15 syn match gitrebasePick "\v^p%(ick)=>" nextgroup=gitrebaseCommit skipwhite
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
16 syn match gitrebaseReword "\v^r%(eword)=>" nextgroup=gitrebaseCommit skipwhite
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
17 syn match gitrebaseEdit "\v^e%(dit)=>" nextgroup=gitrebaseCommit skipwhite
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
18 syn match gitrebaseSquash "\v^s%(quash)=>" nextgroup=gitrebaseCommit skipwhite
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
19 syn match gitrebaseFixup "\v^f%(ixup)=>" nextgroup=gitrebaseCommit skipwhite
3465
161d01cbb165 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
20 syn match gitrebaseExec "\v^%(x|exec)>" nextgroup=gitrebaseCommand skipwhite
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
21 syn match gitrebaseSummary ".*" contains=gitrebaseHash contained
3465
161d01cbb165 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
22 syn match gitrebaseCommand ".*" contained
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
23 syn match gitrebaseComment "^#.*" contains=gitrebaseHash
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
24 syn match gitrebaseSquashError "\v%^%(s%(quash)=>|f%(ixup)=>)" nextgroup=gitrebaseCommit skipwhite
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
25
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
26 hi def link gitrebaseCommit gitrebaseHash
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
27 hi def link gitrebaseHash Identifier
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
28 hi def link gitrebasePick Statement
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
29 hi def link gitrebaseReword Number
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
30 hi def link gitrebaseEdit PreProc
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
31 hi def link gitrebaseSquash Type
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
32 hi def link gitrebaseFixup Special
3465
161d01cbb165 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
33 hi def link gitrebaseExec Function
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
34 hi def link gitrebaseSummary String
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
35 hi def link gitrebaseComment Comment
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1620
diff changeset
36 hi def link gitrebaseSquashError Error
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
37
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
38 let b:current_syntax = "gitrebase"