annotate runtime/syntax/plaintex.vim @ 12289:294f510f6d35 v8.0.1024

patch 8.0.1024: folds lost when session file has a buffer in two windows commit https://github.com/vim/vim/commit/4bebc9a0565670b853d227f81a9a31eafdb47eed Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 30 21:07:38 2017 +0200 patch 8.0.1024: folds lost when session file has a buffer in two windows Problem: Manual folds are lost when a session file has the same buffer in two windows. (Jeansen) Solution: Use ":edit" only once. (Christian Brabandt, closes #1958)
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Aug 2017 21:15:04 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1217
diff changeset
2 " Language: TeX (plain.tex format)
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1217
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1217
diff changeset
4 " Latest Revision: 2006-10-26
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
5
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
7 finish
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
8 endif
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
9
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
11 set cpo&vim
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
12
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
13 syn match plaintexControlSequence display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
14 \ '\\[a-zA-Z@]\+'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
15
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
16 runtime! syntax/initex.vim
1217
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
17 unlet b:current_syntax
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
18
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
19 syn match plaintexComment display
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
20 \ contains=ALLBUT,initexComment,plaintexComment
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
21 \ '^\s*%[CDM].*$'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
22
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
23 if exists("g:plaintex_delimiters")
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
24 syn match plaintexDelimiter display '[][{}]'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
25 endif
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
26
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
27 syn match plaintexRepeat display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
28 \ '\\\%(loop\|repeat\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
29
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
30 syn match plaintexCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
31 \ '\\\%(plainoutput\|TeX\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
32 syn match plaintexBoxCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
33 \ '\\\%(null\|strut\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
34 syn match plaintexDebuggingCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
35 \ '\\\%(showhyphens\|tracingall\|wlog\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
36 syn match plaintexFontsCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
37 \ '\\\%(bf\|\%(five\|seven\)\%(bf\|i\|rm\|sy\)\|it\|oldstyle\|rm\|sl\|ten\%(bf\|ex\|it\=\|rm\|sl\|sy\|tt\)\|tt\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
38 syn match plaintexGlueCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
39 \ '\\\%(\%(big\|en\|med\|\%(no\|off\)interline\|small\)skip\|\%(center\|left\|right\)\=line\|\%(dot\|\%(left\|right\)arrow\)fill\|[hv]glue\|[lr]lap\|q\=quad\|space\|topglue\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
40 syn match plaintexInsertsCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
41 \ '\\\%(\%(end\|top\)insert\|v\=footnote\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
42 syn match plaintexJobCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
43 \ '\\\%(bye\|fmt\%(name\|version\)\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
44 syn match plaintexInsertsCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
45 \ '\\\%(mid\|page\)insert\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
46 syn match plaintexKernCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
47 \ '\\\%(en\|\%(neg\)\=thin\)space\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
48 syn match plaintexMacroCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
49 \ '\\\%(active\|[be]group\|empty\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
50 syn match plaintexPageCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
51 \ '\\\%(\%(super\)\=eject\|nopagenumbers\|\%(normal\|ragged\)bottom\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
52 syn match plaintexParagraphCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
53 \ '\\\%(endgraf\|\%(non\)\=frenchspacing\|hang\|item\%(item\)\=\|narrower\|normalbaselines\|obey\%(lines\|spaces\)\|openup\|proclaim\|\%(tt\)\=raggedright\|textindent\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
54 syn match plaintexPenaltiesCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
55 \ '\\\%(allow\|big\|fil\|good\|med\|no\|small\)\=break\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
56 syn match plaintexRegistersCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
57 \ '\\\%(advancepageno\|new\%(box\|count\|dimen\|fam\|help\|if\|insert\|language\|muskip\|read\|skip\|toks\|write\)\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
58 syn match plaintexTablesCommand display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
59 \ '&\|\\+\|\\\%(cleartabs\|endline\|hidewidth\|ialign\|multispan\|settabs\|tabalign\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
60
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
61 if !exists("g:plaintex_no_math")
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
62 syn region plaintexMath matchgroup=plaintexMath
1217
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
63 \ contains=@plaintexMath,@NoSpell
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
64 \ start='\$' skip='\\\\\|\\\$' end='\$'
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
65 syn region plaintexMath matchgroup=plaintexMath
1217
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
66 \ contains=@plaintexMath,@NoSpell keepend
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
67 \ start='\$\$' skip='\\\\\|\\\$' end='\$\$'
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
68 endif
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
69
1217
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
70 " Keep this after plaintexMath, as we don’t want math mode started at a \$.
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
71 syn match plaintexCharacterCommand display contains=@NoSpell
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
72 \ /\\\%(["#$%&'.=^_`~]\|``\|''\|-\{2,3}\|[?!]`\|^^L\|\~\|\%(a[ae]\|A[AE]\|acute\|[cdHoOPStuvijlL]\|copyright\|d\=dag\|folio\|ldotp\|[lr]q\|oe\|OE\|slash\|ss\|underbar\)\>\)/
82274b284600 updated for version 7.1b
vimboss
parents: 837
diff changeset
73
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
74 syn cluster plaintexMath
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
75 \ contains=plaintexMathCommand,plaintexMathBoxCommand,
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
76 \ plaintexMathCharacterCommand,plaintexMathDelimiter,
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
77 \ plaintexMathFontsCommand,plaintexMathLetter,plaintexMathSymbol,
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
78 \ plaintexMathFunction,plaintexMathOperator,plaintexMathPunctuation,
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
79 \ plaintexMathRelation
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
80
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
81 syn match plaintexMathCommand display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
82 \ '\\\%([!*,;>{}|_^]\|\%([aA]rrowvert\|[bB]ig\%(g[lmr]\=\|r\)\=\|\%(border\|p\)\=matrix\|displaylines\|\%(down\|up\)bracefill\|eqalign\%(no\)\|leqalignno\|[lr]moustache\|mathpalette\|root\|s[bp]\|skew\|sqrt\)\>\)'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
83 syn match plaintexMathBoxCommand display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
84 \ '\\\%([hv]\=phantom\|mathstrut\|smash\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
85 syn match plaintexMathCharacterCommand display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
86 \ '\\\%(b\|bar\|breve\|check\|d\=dots\=\|grave\|hat\|[lv]dots\|tilde\|vec\|wide\%(hat\|tilde\)\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
87 syn match plaintexMathDelimiter display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
88 \ '\\\%(brace\%(vert\)\=\|brack\|cases\|choose\|[lr]\%(angle\|brace\|brack\|ceil\|floor\|group\)\|over\%(brace\|\%(left\|right\)arrow\)\|underbrace\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
89 syn match plaintexMathFontsCommand display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
90 \ '\\\%(\%(bf\|it\|sl\|tt\)fam\|cal\|mit\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
91 syn match plaintexMathLetter display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
92 \ '\\\%(aleph\|alpha\|beta\|chi\|[dD]elta\|ell\|epsilon\|eta\|[gG]amma\|[ij]math\|iota\|kappa\|[lL]ambda\|[mn]u\|[oO]mega\|[pP][hs]\=i\|rho\|[sS]igma\|tau\|[tT]heta\|[uU]psilon\|var\%(epsilon\|ph\=i\|rho\|sigma\|theta\)\|[xX]i\|zeta\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
93 syn match plaintexMathSymbol display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
94 \ '\\\%(angle\|backslash\|bot\|clubsuit\|emptyset\|epsilon\|exists\|flat\|forall\|hbar\|heartsuit\|Im\|infty\|int\|lnot\|nabla\|natural\|neg\|pmod\|prime\|Re\|sharp\|smallint\|spadesuit\|surd\|top\|triangle\%(left\|right\)\=\|vdash\|wp\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
95 syn match plaintexMathFunction display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
96 \ '\\\%(arc\%(cos\|sin\|tan\)\|arg\|\%(cos\|sin\|tan\)h\=\|coth\=\|csc\|de[gt]\|dim\|exp\|gcd\|hom\|inf\|ker\|lo\=g\|lim\%(inf\|sup\)\=\|ln\|max\|min\|Pr\|sec\|sup\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
97 syn match plaintexMathOperator display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
98 \ '\\\%(amalg\|ast\|big\%(c[au]p\|circ\|o\%(dot\|plus\|times\|sqcup\)\|triangle\%(down\|up\)\|uplus\|vee\|wedge\|bmod\|bullet\)\|c[au]p\|cdot[ps]\=\|circ\|coprod\|d\=dagger\|diamond\%(suit\)\=\|div\|land\|lor\|mp\|o\%(dot\|int\|minus\|plus\|slash\|times\)pm\|prod\|setminus\|sqc[au]p\|sqsu[bp]seteq\|star\|su[bp]set\%(eq\)\=\|sum\|times\|uplus\|vee\|wedge\|wr\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
99 syn match plaintexMathPunctuation display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
100 \ '\\\%(colon\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
101 syn match plaintexMathRelation display contains=@NoSpell contained
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
102 \ '\\\%(approx\|asymp\|bowtie\|buildrel\|cong\|dashv\|doteq\|[dD]ownarrow\|equiv\|frown\|geq\=\|gets\|gg\|hook\%(left\|right\)arrow\|iff\|in\|leq\=\|[lL]eftarrow\|\%(left\|right\)harpoon\%(down\|up\)\|[lL]eftrightarrow\|ll\|[lL]ongleftrightarrow\|longmapsto\|[lL]ongrightarrow\|mapsto\|mid\|models\|[ns][ew]arrow\|neq\=\|ni\|not\%(in\)\=\|owns\|parallel\|perp\|prec\%(eq\)\=\|propto\|[rR]ightarrow\|rightleftharpoons\|sim\%(eq\)\=\|smile\|succ\%(eq\)\=\|to\|[uU]parrow\|[uU]pdownarrow\|[vV]ert\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
103
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
104 syn match plaintexParameterDimen display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
105 \ '\\maxdimen\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
106 syn match plaintexMathParameterDimen display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
107 \ '\\jot\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
108 syn match plaintexParagraphParameterGlue display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
109 \ '\\\%(\%(big\|med\|small\)skipamount\|normalbaselineskip\|normallineskip\%(limit\)\=\)\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
110
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
111 syn match plaintexFontParameterInteger display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
112 \ '\\magstep\%(half\)\=\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
113 syn match plaintexJobParameterInteger display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
114 \ '\\magnification\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
115 syn match plaintexPageParameterInteger display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
116 \ '\\pageno\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
117
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
118 syn match plaintexPageParameterToken display contains=@NoSpell
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
119 \ '\\\%(foot\|head\)line\>'
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
120
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
121 hi def link plaintexOperator Operator
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
122
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
123 hi def link plaintexDelimiter Delimiter
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
124
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
125 hi def link plaintexControlSequence Identifier
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
126 hi def link plaintexComment Comment
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
127 hi def link plaintexInclude Include
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
128 hi def link plaintexRepeat Repeat
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
129
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
130 hi def link plaintexCommand initexCommand
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
131 hi def link plaintexBoxCommand plaintexCommand
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
132 hi def link plaintexCharacterCommand initexCharacterCommand
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
133 hi def link plaintexDebuggingCommand initexDebuggingCommand
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
134 hi def link plaintexFontsCommand initexFontsCommand
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
135 hi def link plaintexGlueCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
136 hi def link plaintexInsertsCommand plaintexCommand
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
137 hi def link plaintexJobCommand initexJobCommand
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
138 hi def link plaintexKernCommand plaintexCommand
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
139 hi def link plaintexMacroCommand initexMacroCommand
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
140 hi def link plaintexPageCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
141 hi def link plaintexParagraphCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
142 hi def link plaintexPenaltiesCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
143 hi def link plaintexRegistersCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
144 hi def link plaintexTablesCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
145
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
146 hi def link plaintexMath String
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
147 hi def link plaintexMathCommand plaintexCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
148 hi def link plaintexMathBoxCommand plaintexBoxCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
149 hi def link plaintexMathCharacterCommand plaintexCharacterCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
150 hi def link plaintexMathDelimiter plaintexDelimiter
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
151 hi def link plaintexMathFontsCommand plaintexFontsCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
152 hi def link plaintexMathLetter plaintexMathCharacterCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
153 hi def link plaintexMathSymbol plaintexMathLetter
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
154 hi def link plaintexMathFunction Function
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
155 hi def link plaintexMathOperator plaintexOperator
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
156 hi def link plaintexMathPunctuation plaintexCharacterCommand
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
157 hi def link plaintexMathRelation plaintexOperator
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
158
837
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
159 hi def link plaintexParameterDimen initexParameterDimen
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
160 hi def link plaintexMathParameterDimen initexMathParameterDimen
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
161 hi def link plaintexParagraphParameterGlue initexParagraphParameterGlue
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
162 hi def link plaintexFontParameterInteger initexFontParameterInteger
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
163 hi def link plaintexJobParameterInteger initexJobParameterInteger
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
164 hi def link plaintexPageParameterInteger initexPageParameterInteger
6bb1fa855dc9 updated for version 7.0e03
vimboss
parents: 816
diff changeset
165 hi def link plaintexPageParameterToken initexParameterToken
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
166
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
167 let b:current_syntax = "plaintex"
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
168
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
169 let &cpo = s:cpo_save
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
170 unlet s:cpo_save