annotate runtime/syntax/lex.vim @ 16670:5733d8e33bce v8.1.1337

patch 8.1.1337: get empty text prop when splitting line just after text prop commit https://github.com/vim/vim/commit/5c65e6a062dfc7d20931fa1f73d03b1714a4d5e1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 17 11:08:56 2019 +0200 patch 8.1.1337: get empty text prop when splitting line just after text prop Problem: Get empty text prop when splitting line just after text prop. Solution: Do not create an empty text prop at the start of the line.
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 May 2019 11:15:06 +0200
parents 46763b01cd9a
children 8edf0aeb71b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Lex
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
4 " Last Change: Aug 31, 2016
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
5 " Version: 16
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
6 " URL: http://mysite.verizon.net/astronaut/vim/index.html#SYNTAX_LEX
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Option:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " lex_uses_cpp : if this variable exists, then C++ is loaded rather than C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3920
diff changeset
11 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3920
diff changeset
12 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
16 " Read the C/C++ syntax to start with
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
17 let s:Cpath= fnameescape(expand("<sfile>:p:h").(exists("g:lex_uses_cpp")? "/cpp.vim" : "/c.vim"))
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
18 if !filereadable(s:Cpath)
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
19 for s:Cpath in split(globpath(&rtp,(exists("g:lex_uses_cpp")? "syntax/cpp.vim" : "syntax/c.vim")),"\n")
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
20 if filereadable(fnameescape(s:Cpath))
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
21 let s:Cpath= fnameescape(s:Cpath)
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
22 break
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 endif
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
24 endfor
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 endif
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
26 exe "syn include @lexCcode ".s:Cpath
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
28 " --- ========= ---
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " --- Lex stuff ---
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
30 " --- ========= ---
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
2662
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
32 " Options Section
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
33 syn match lexOptions '^%\s*option\>.*$' contains=lexPatString
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
34
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 " Abbreviations Section
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
36 if has("folding")
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
37 syn region lexAbbrvBlock fold start="^\(\h\+\s\|%{\)" end="^\ze%%$" skipnl nextgroup=lexPatBlock contains=lexAbbrv,lexInclude,lexAbbrvComment,lexStartState
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
38 else
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
39 syn region lexAbbrvBlock start="^\(\h\+\s\|%{\)" end="^\ze%%$" skipnl nextgroup=lexPatBlock contains=lexAbbrv,lexInclude,lexAbbrvComment,lexStartState
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
40 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match lexAbbrv "^\I\i*\s"me=e-1 skipwhite contained nextgroup=lexAbbrvRegExp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match lexAbbrv "^%[sx]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match lexAbbrvRegExp "\s\S.*$"lc=1 contained nextgroup=lexAbbrv,lexInclude
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
44 if has("folding")
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
45 syn region lexInclude fold matchgroup=lexSep start="^%{" end="%}" contained contains=@lexCcode
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
46 syn region lexAbbrvComment fold start="^\s\+/\*" end="\*/" contains=@Spell
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
47 syn region lexAbbrvComment fold start="\%^/\*" end="\*/" contains=@Spell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
48 syn region lexStartState fold matchgroup=lexAbbrv start="^%\a\+" end="$" contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
49 else
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
50 syn region lexInclude matchgroup=lexSep start="^%{" end="%}" contained contains=@lexCcode
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
51 syn region lexAbbrvComment start="^\s\+/\*" end="\*/" contains=@Spell
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
52 syn region lexAbbrvComment start="\%^/\*" end="\*/" contains=@Spell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
53 syn region lexStartState matchgroup=lexAbbrv start="^%\a\+" end="$" contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
54 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 "%% : Patterns {Actions}
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
57 if has("folding")
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
58 syn region lexPatBlock fold matchgroup=Todo start="^%%$" matchgroup=Todo end="^%\ze%$" skipnl skipwhite nextgroup=lexFinalCodeBlock contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatInclude
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
59 syn region lexPat fold start=+\S+ skip="\\\\\|\\." end="\s"me=e-1 skipwhite contained nextgroup=lexMorePat,lexPatSep,lexPattern contains=lexPatTag,lexPatString,lexSlashQuote,lexBrace
2662
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
60 syn region lexPatInclude fold matchgroup=lexSep start="^%{" end="%}" contained contains=lexPatCode
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
61 syn region lexBrace fold start="\[" skip=+\\\\\|\\+ end="]" contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
62 syn region lexPatString fold matchgroup=String start=+"+ skip=+\\\\\|\\"+ matchgroup=String end=+"+ contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
63 else
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
64 syn region lexPatBlock matchgroup=Todo start="^%%$" matchgroup=Todo end="^%%$" skipnl skipwhite nextgroup=lexFinalCodeBlock contains=lexPatTag,lexPatTagZone,lexPatComment,lexPat,lexPatInclude
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
65 syn region lexPat start=+\S+ skip="\\\\\|\\." end="\s"me=e-1 skipwhite contained nextgroup=lexMorePat,lexPatSep,lexPattern contains=lexPatTag,lexPatString,lexSlashQuote,lexBrace
2662
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
66 syn region lexPatInclude matchgroup=lexSep start="^%{" end="%}" contained contains=lexPatCode
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
67 syn region lexBrace start="\[" skip=+\\\\\|\\+ end="]" contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
68 syn region lexPatString matchgroup=String start=+"+ skip=+\\\\\|\\"+ matchgroup=String end=+"+ contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
69 endif
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
70 syn match lexPatTag "^<\I\i*\(,\I\i*\)*>" contained nextgroup=lexPat,lexPatTag,lexMorePat,lexPatSep
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
71 syn match lexPatTagZone "^<\I\i*\(,\I\i*\)*>\s\+\ze{" contained nextgroup=lexPatTagZoneStart
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match lexPatTag +^<\I\i*\(,\I\i*\)*>*\(\\\\\)*\\"+ contained nextgroup=lexPat,lexPatTag,lexMorePat,lexPatSep
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
73
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
74 " Lex Patterns
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
75 syn region lexPattern start='[^ \t{}]' end="$" contained contains=lexPatRange
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
76 syn region lexPatRange matchgroup=Delimiter start='\[' skip='\\\\\|\\.' end='\]' contains=lexEscape
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
77 syn match lexEscape '\%(\\\\\)*\\.' contained
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
78
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
79 if has("folding")
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
80 syn region lexPatTagZoneStart matchgroup=lexPatTag fold start='{' end='}' contained contains=lexPat,lexPatComment
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
81 syn region lexPatComment start="\s\+/\*" end="\*/" fold skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
82 else
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
83 syn region lexPatTagZoneStart matchgroup=lexPatTag start='{' end='}' contained contains=lexPat,lexPatComment
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
84 syn region lexPatComment start="\s\+/\*" end="\*/" skipnl contained contains=cTodo skipwhite nextgroup=lexPatComment,lexPat,@Spell
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
85 endif
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
86 syn match lexPatCodeLine "[^{\[].*" contained contains=@lexCcode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match lexMorePat "\s*|\s*$" skipnl contained nextgroup=lexPat,lexPatTag,lexPatComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match lexPatSep "\s\+" contained nextgroup=lexMorePat,lexPatCode,lexPatCodeLine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match lexSlashQuote +\(\\\\\)*\\"+ contained
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
90 if has("folding")
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
91 syn region lexPatCode matchgroup=Delimiter start="{" end="}" fold skipnl contained contains=@lexCcode,lexCFunctions
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
92 else
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
93 syn region lexPatCode matchgroup=Delimiter start="{" end="}" skipnl contained contains=@lexCcode,lexCFunctions
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 507
diff changeset
94 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
96 " Lex "functions" which may appear in C/C++ code blocks
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword lexCFunctions BEGIN input unput woutput yyleng yylook yytext
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword lexCFunctions ECHO output winput wunput yyless yymore yywrap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
100 " %%
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
101 " lexAbbrevBlock
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
102 " %%
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
103 " lexPatBlock
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
104 " %%
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
105 " lexFinalCodeBlock
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
106 syn region lexFinalCodeBlock matchgroup=Todo start="%$"me=e-1 end="\%$" contained contains=@lexCcode
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
107
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 " <c.vim> includes several ALLBUTs; these have to be treated so as to exclude lex* groups
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn cluster cParenGroup add=lex.*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn cluster cDefineGroup add=lex.*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn cluster cPreProcGroup add=lex.*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn cluster cMultiGroup add=lex.*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 " Synchronization
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn sync clear
3920
c53344bacabf Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
116 syn sync minlines=500
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn sync match lexSyncPat grouphere lexPatBlock "^%[a-zA-Z]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn sync match lexSyncPat groupthere lexPatBlock "^<$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn sync match lexSyncPat groupthere lexPatBlock "^%%$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 " The default highlighting.
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
122 if !exists("skip_lex_syntax_inits")
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
123 hi def link lexAbbrvComment lexPatComment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
124 hi def link lexAbbrvRegExp Macro
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
125 hi def link lexAbbrv SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
126 hi def link lexBrace lexPat
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
127 hi def link lexCFunctions Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
128 hi def link lexCstruct cStructure
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
129 hi def link lexMorePat SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
130 hi def link lexOptions PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
131 hi def link lexPatComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
132 hi def link lexPat Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
133 hi def link lexPatString Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
134 hi def link lexPatTag Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
135 hi def link lexPatTagZone lexPatTag
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
136 hi def link lexSep Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
137 hi def link lexSlashQuote lexPat
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
138 hi def link lexStartState Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
139 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 let b:current_syntax = "lex"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " vim:ts=10