Mercurial > vim
annotate runtime/syntax/css.vim @ 29866:607385b95bf7
Added tag v9.0.0271 for changeset 4291eb97e47963858c8e4b85de5deb9714c4fe76
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Aug 2022 11:45:05 +0200 |
parents | 3a63b1e4a6f4 |
children | 98165b7f48ec |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
3830 | 2 " Language: Cascading Style Sheets |
3 " Previous Contributor List: | |
21676 | 4 " Jules Wang <w.jq0722@gmail.com> |
25973 | 5 " Claudio Fleiner <claudio@fleiner.com> |
3830 | 6 " Yeti (Add full CSS2, HTML4 support) |
7 " Nikolai Weibull (Add CSS2 support) | |
25973 | 8 " URL: https://github.com/vim-language-dept/css-syntax.vim |
21676 | 9 " Maintainer: Jay Sitter <jay@jaysitter.com> |
26591 | 10 " Last Change: 2021 Oct 20 |
7 | 11 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
12 " quit when a syntax file was already loaded |
7 | 13 if !exists("main_syntax") |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
14 if exists("b:current_syntax") |
5239 | 15 finish |
16 endif | |
17 let main_syntax = 'css' | |
18 elseif exists("b:current_syntax") && b:current_syntax == "css" | |
7 | 19 finish |
20 endif | |
21 | |
3854 | 22 let s:cpo_save = &cpo |
23 set cpo&vim | |
24 | |
7 | 25 syn case ignore |
25973 | 26 " Add dash to allowed keyword characters. |
27 syn iskeyword @,48-57,_,192-255,- | |
7 | 28 |
6823 | 29 " HTML4 tags |
30 syn keyword cssTagName abbr address area a b base | |
31 syn keyword cssTagName bdo blockquote body br button | |
32 syn keyword cssTagName caption cite code col colgroup dd del | |
33 syn keyword cssTagName dfn div dl dt em fieldset form | |
34 syn keyword cssTagName h1 h2 h3 h4 h5 h6 head hr html img i | |
35 syn keyword cssTagName iframe input ins isindex kbd label legend li | |
36 syn keyword cssTagName link map menu meta noscript ol optgroup | |
25973 | 37 syn keyword cssTagName option p param picture pre q s samp script small |
6823 | 38 syn keyword cssTagName span strong sub sup tbody td |
39 syn keyword cssTagName textarea tfoot th thead title tr ul u var | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
40 syn keyword cssTagName object svg |
6823 | 41 syn match cssTagName /\<select\>\|\<style\>\|\<table\>/ |
3830 | 42 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
43 " 34 HTML5 tags |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
44 syn keyword cssTagName article aside audio bdi canvas command data |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
45 syn keyword cssTagName datalist details dialog embed figcaption figure footer |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
46 syn keyword cssTagName header hgroup keygen main mark menuitem meter nav |
3830 | 47 syn keyword cssTagName output progress rt rp ruby section |
48 syn keyword cssTagName source summary time track video wbr | |
49 | |
50 " Tags not supported in HTML5 | |
6823 | 51 " acronym applet basefont big center dir |
52 " font frame frameset noframes strike tt | |
3830 | 53 |
7 | 54 syn match cssTagName "\*" |
55 | |
3830 | 56 " selectors |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
57 syn match cssSelectorOp "[,>+~]" |
3830 | 58 syn match cssSelectorOp2 "[~|^$*]\?=" contained |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
59 syn region cssAttributeSelector matchgroup=cssSelectorOp start="\[" end="]" contains=cssUnicodeEscape,cssSelectorOp2,cssStringQ,cssStringQQ |
7 | 60 |
3830 | 61 " .class and #id |
10617 | 62 syn match cssClassName "\.-\=[A-Za-z_][A-Za-z0-9_-]*" contains=cssClassNameDot |
5555 | 63 syn match cssClassNameDot contained '\.' |
7 | 64 |
557 | 65 try |
22565 | 66 syn match cssIdentifier "#[A-Za-zÀ-ÿ_@][A-Za-zÀ-ÿ0-9_@-]*" |
557 | 67 catch /^.*/ |
68 syn match cssIdentifier "#[A-Za-z_@][A-Za-z0-9_@-]*" | |
69 endtry | |
70 | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
71 " digits |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
72 syn match cssValueInteger contained "[-+]\=\d\+" contains=cssUnitDecorators |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
73 syn match cssValueNumber contained "[-+]\=\d\+\(\.\d*\)\=" contains=cssUnitDecorators |
21676 | 74 syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(mm\|cm\|in\|pt\|pc\|em\|ex\|px\|rem\|dpi\|dppx\|dpcm\|fr\|vw\|vh\|vmin\|vmax\|ch\)\>" contains=cssUnitDecorators |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
75 syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=%" contains=cssUnitDecorators |
6823 | 76 syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=\(deg\|grad\|rad\)\>" contains=cssUnitDecorators |
77 syn match cssValueTime contained "+\=\d\+\(\.\d*\)\=\(ms\|s\)\>" contains=cssUnitDecorators | |
78 syn match cssValueFrequency contained "+\=\d\+\(\.\d*\)\=\(Hz\|kHz\)\>" contains=cssUnitDecorators | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
79 |
3893 | 80 " The 16 basic color names |
7 | 81 syn keyword cssColor contained aqua black blue fuchsia gray green lime maroon navy olive purple red silver teal yellow |
3893 | 82 |
83 " 130 more color names | |
84 syn keyword cssColor contained aliceblue antiquewhite aquamarine azure | |
85 syn keyword cssColor contained beige bisque blanchedalmond blueviolet brown burlywood | |
86 syn keyword cssColor contained cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan | |
6823 | 87 syn match cssColor contained /\<dark\(blue\|cyan\|goldenrod\|gray\|green\|grey\|khaki\)\>/ |
88 syn match cssColor contained /\<dark\(magenta\|olivegreen\|orange\|orchid\|red\|salmon\|seagreen\)\>/ | |
89 syn match cssColor contained /\<darkslate\(blue\|gray\|grey\)\>/ | |
90 syn match cssColor contained /\<dark\(turquoise\|violet\)\>/ | |
3893 | 91 syn keyword cssColor contained deeppink deepskyblue dimgray dimgrey dodgerblue firebrick |
92 syn keyword cssColor contained floralwhite forestgreen gainsboro ghostwhite gold | |
93 syn keyword cssColor contained goldenrod greenyellow grey honeydew hotpink | |
94 syn keyword cssColor contained indianred indigo ivory khaki lavender lavenderblush lawngreen | |
95 syn keyword cssColor contained lemonchiffon limegreen linen magenta | |
6823 | 96 syn match cssColor contained /\<light\(blue\|coral\|cyan\|goldenrodyellow\|gray\|green\)\>/ |
97 syn match cssColor contained /\<light\(grey\|pink\|salmon\|seagreen\|skyblue\|yellow\)\>/ | |
98 syn match cssColor contained /\<light\(slategray\|slategrey\|steelblue\)\>/ | |
99 syn match cssColor contained /\<medium\(aquamarine\|blue\|orchid\|purple\|seagreen\)\>/ | |
100 syn match cssColor contained /\<medium\(slateblue\|springgreen\|turquoise\|violetred\)\>/ | |
3893 | 101 syn keyword cssColor contained midnightblue mintcream mistyrose moccasin navajowhite |
102 syn keyword cssColor contained oldlace olivedrab orange orangered orchid | |
6823 | 103 syn match cssColor contained /\<pale\(goldenrod\|green\|turquoise\|violetred\)\>/ |
3893 | 104 syn keyword cssColor contained papayawhip peachpuff peru pink plum powderblue |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
105 syn keyword cssColor contained rosybrown royalblue rebeccapurple saddlebrown salmon |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
106 syn keyword cssColor contained sandybrown seagreen seashell sienna skyblue slateblue |
3893 | 107 syn keyword cssColor contained slategray slategrey snow springgreen steelblue tan |
108 syn keyword cssColor contained thistle tomato turquoise violet wheat | |
109 syn keyword cssColor contained whitesmoke yellowgreen | |
110 | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
111 " FIXME: These are actually case-insensitive too, but (a) specs recommend using |
7 | 112 " mixed-case (b) it's hard to highlight the word `Background' correctly in |
113 " all situations | |
114 syn case match | |
115 syn keyword cssColor contained ActiveBorder ActiveCaption AppWorkspace ButtonFace ButtonHighlight ButtonShadow ButtonText CaptionText GrayText Highlight HighlightText InactiveBorder InactiveCaption InactiveCaptionText InfoBackground InfoText Menu MenuText Scrollbar ThreeDDarkShadow ThreeDFace ThreeDHighlight ThreeDLightShadow ThreeDShadow Window WindowFrame WindowText Background | |
116 syn case ignore | |
3830 | 117 |
118 syn match cssImportant contained "!\s*important\>" | |
26591 | 119 syn match cssCustomProp contained "\<--[a-zA-Z0-9-_]*\>" |
3830 | 120 |
7 | 121 syn match cssColor contained "\<transparent\>" |
6823 | 122 syn match cssColor contained "\<currentColor\>" |
7 | 123 syn match cssColor contained "\<white\>" |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
124 syn match cssColor contained "#\x\{3,4\}\>" contains=cssUnitDecorators |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
125 syn match cssColor contained "#\x\{6\}\>" contains=cssUnitDecorators |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
126 syn match cssColor contained "#\x\{8\}\>" contains=cssUnitDecorators |
7 | 127 |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
128 syn region cssURL contained matchgroup=cssFunctionName start="\<\(uri\|url\|local\|format\)\s*(" end=")" contains=cssStringQ,cssStringQQ oneline |
26591 | 129 syn region cssMathGroup contained matchgroup=cssMathParens start="(" end=")" containedin=cssFunction,cssMathGroup contains=cssCustomProp,cssValue.*,cssFunction,cssColor,cssStringQ,cssStringQQ oneline |
17909 | 130 syn region cssFunction contained matchgroup=cssFunctionName start="\<\(var\|calc\)\s*(" end=")" contains=cssCustomProp,cssValue.*,cssFunction,cssColor,cssStringQ,cssStringQQ oneline |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
131 syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgb\|clip\|attr\|counter\|rect\|cubic-bezier\|steps\)\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
132 syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsl\|hsla\|color-stop\|from\|to\)\s*(" end=")" oneline contains=cssColor,cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma,cssFunction |
25973 | 133 syn region cssFunction contained matchgroup=cssFunctionName start="\<\(linear-\|radial-\|conic-\)\=\gradient\s*(" end=")" oneline contains=cssColor,cssValueInteger,cssValueNumber,cssValueLength,cssFunction,cssGradientAttr,cssFunctionComma |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
134 syn region cssFunction contained matchgroup=cssFunctionName start="\<\(matrix\(3d\)\=\|scale\(3d\|X\|Y\|Z\)\=\|translate\(3d\|X\|Y\|Z\)\=\|skew\(X\|Y\)\=\|rotate\(3d\|X\|Y\|Z\)\=\|perspective\)\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssValueAngle,cssFunctionComma |
21676 | 135 syn region cssFunction contained matchgroup=cssFunctionName start="\<\(blur\|brightness\|contrast\|drop-shadow\|grayscale\|hue-rotate\|invert\|opacity\|saturate\|sepia\)\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssValueAngle,cssFunctionComma |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
136 syn keyword cssGradientAttr contained top bottom left right cover center middle ellipse at |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
137 syn match cssFunctionComma contained "," |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
138 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
139 " Common Prop and Attr |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
140 syn keyword cssCommonAttr contained auto none inherit all default normal |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
141 syn keyword cssCommonAttr contained top bottom center stretch hidden visible |
21676 | 142 syn match cssCommonAttr contained "\<\(max-\|min-\|fit-\)content\>" |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
143 "------------------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
144 " CSS Animations |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
145 " http://www.w3.org/TR/css3-animations/ |
5555 | 146 syn match cssAnimationProp contained "\<animation\(-\(delay\|direction\|duration\|fill-mode\|name\|play-state\|timing-function\|iteration-count\)\)\=\>" |
7 | 147 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
148 " animation-direction attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
149 syn keyword cssAnimationAttr contained alternate reverse |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
150 syn match cssAnimationAttr contained "\<alternate-reverse\>" |
7 | 151 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
152 " animation-fill-mode attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
153 syn keyword cssAnimationAttr contained forwards backwards both |
3830 | 154 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
155 " animation-play-state attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
156 syn keyword cssAnimationAttr contained running paused |
6823 | 157 |
158 " animation-iteration-count attributes | |
159 syn keyword cssAnimationAttr contained infinite | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
160 "------------------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
161 " CSS Backgrounds and Borders Module Level 3 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
162 " http://www.w3.org/TR/css3-background/ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
163 syn match cssBackgroundProp contained "\<background\(-\(attachment\|clip\|color\|image\|origin\|position\|repeat\|size\)\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
164 " background-attachment attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
165 syn keyword cssBackgroundAttr contained scroll fixed local |
3830 | 166 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
167 " background-position attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
168 syn keyword cssBackgroundAttr contained left center right top bottom |
3830 | 169 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
170 " background-repeat attributes |
3830 | 171 syn match cssBackgroundAttr contained "\<no-repeat\>" |
172 syn match cssBackgroundAttr contained "\<repeat\(-[xy]\)\=\>" | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
173 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
174 " background-size attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
175 syn keyword cssBackgroundAttr contained cover contain |
3830 | 176 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
177 syn match cssBorderProp contained "\<border\(-\(top\|right\|bottom\|left\)\)\=\(-\(width\|color\|style\)\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
178 syn match cssBorderProp contained "\<border\(-\(top\|bottom\)-\(left\|right\)\)\=-radius\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
179 syn match cssBorderProp contained "\<border-image\(-\(outset\|repeat\|slice\|source\|width\)\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
180 syn match cssBorderProp contained "\<box-decoration-break\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
181 syn match cssBorderProp contained "\<box-shadow\>" |
3830 | 182 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
183 " border-image attributes |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
184 syn keyword cssBorderAttr contained stretch round fill |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
185 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
186 " border-style attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
187 syn keyword cssBorderAttr contained dotted dashed solid double groove ridge inset outset |
3830 | 188 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
189 " border-width attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
190 syn keyword cssBorderAttr contained thin thick medium |
3830 | 191 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
192 " box-decoration-break attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
193 syn keyword cssBorderAttr contained clone slice |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
194 "------------------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
195 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
196 syn match cssBoxProp contained "\<padding\(-\(top\|right\|bottom\|left\)\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
197 syn match cssBoxProp contained "\<margin\(-\(top\|right\|bottom\|left\)\)\=\>" |
3830 | 198 syn match cssBoxProp contained "\<overflow\(-\(x\|y\|style\)\)\=\>" |
5555 | 199 syn match cssBoxProp contained "\<rotation\(-point\)\=\>" |
3830 | 200 syn keyword cssBoxAttr contained visible hidden scroll auto |
201 syn match cssBoxAttr contained "\<no-\(display\|content\)\>" | |
202 | |
17909 | 203 syn keyword cssCascadeProp contained all |
204 syn keyword cssCascadeAttr contained initial unset revert | |
205 | |
3830 | 206 syn keyword cssColorProp contained opacity |
207 syn match cssColorProp contained "\<color-profile\>" | |
208 syn match cssColorProp contained "\<rendering-intent\>" | |
209 | |
210 | |
211 syn match cssDimensionProp contained "\<\(min\|max\)-\(width\|height\)\>" | |
212 syn keyword cssDimensionProp contained height | |
213 syn keyword cssDimensionProp contained width | |
214 | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
215 " CSS Flexible Box Layout Module Level 1 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
216 " http://www.w3.org/TR/css3-flexbox/ |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
217 " CSS Box Alignment Module Level 3 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
218 " http://www.w3.org/TR/css-align-3/ |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
219 syn match cssFlexibleBoxProp contained "\<flex\(-\(direction\|wrap\|flow\|grow\|shrink\|basis\)\)\=\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
220 syn match cssFlexibleBoxProp contained "\<\(align\|justify\)\(-\(items\|self\|content\)\)\=\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
221 syn keyword cssFlexibleBoxProp contained order |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
222 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
223 syn match cssFlexibleBoxAttr contained "\<\(row\|column\|wrap\)\(-reverse\)\=\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
224 syn keyword cssFlexibleBoxAttr contained nowrap stretch baseline center |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
225 syn match cssFlexibleBoxAttr contained "\<flex\(-\(start\|end\)\)\=\>" |
25973 | 226 syn match cssFlexibleBoxAttr contained "\<space\(-\(between\|around\|evenly\)\)\=\>" |
3830 | 227 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
228 " CSS Fonts Module Level 3 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
229 " http://www.w3.org/TR/css-fonts-3/ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
230 syn match cssFontProp contained "\<font\(-\(family\|\|feature-settings\|kerning\|language-override\|size\(-adjust\)\=\|stretch\|style\|synthesis\|variant\(-\(alternates\|caps\|east-asian\|ligatures\|numeric\|position\)\)\=\|weight\)\)\=\>" |
6823 | 231 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
232 " font attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
233 syn keyword cssFontAttr contained icon menu caption |
7 | 234 syn match cssFontAttr contained "\<message-box\>" |
235 syn match cssFontAttr contained "\<status-bar\>" | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
236 syn keyword cssFontAttr contained larger smaller |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
237 syn match cssFontAttr contained "\<\(x\{1,2\}-\)\=\(large\|small\)\>" |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
238 syn match cssFontAttr contained "\<small-\(caps\|caption\)\>" |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
239 " font-family attributes |
25973 | 240 syn keyword cssFontAttr contained sans-serif serif cursive fantasy monospace |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
241 " font-feature-settings attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
242 syn keyword cssFontAttr contained on off |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
243 " font-stretch attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
244 syn match cssFontAttr contained "\<\(\(ultra\|extra\|semi\)-\)\=\(condensed\|expanded\)\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
245 " font-style attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
246 syn keyword cssFontAttr contained italic oblique |
6823 | 247 " font-synthesis attributes |
248 syn keyword cssFontAttr contained weight style | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
249 " font-weight attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
250 syn keyword cssFontAttr contained bold bolder lighter |
6823 | 251 " TODO: font-variant-* attributes |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
252 "------------------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
253 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
254 " Webkit specific property/attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
255 syn match cssFontProp contained "\<font-smooth\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
256 syn match cssFontAttr contained "\<\(subpixel-\)\=\antialiased\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
257 |
5555 | 258 |
259 " CSS Multi-column Layout Module | |
260 " http://www.w3.org/TR/css3-multicol/ | |
261 syn match cssMultiColumnProp contained "\<break-\(after\|before\|inside\)\>" | |
262 syn match cssMultiColumnProp contained "\<column-\(count\|fill\|gap\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>" | |
263 syn keyword cssMultiColumnProp contained columns | |
264 syn keyword cssMultiColumnAttr contained balance medium | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
265 syn keyword cssMultiColumnAttr contained always left right page column |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
266 syn match cssMultiColumnAttr contained "\<avoid\(-\(page\|column\)\)\=\>" |
5555 | 267 |
268 " http://www.w3.org/TR/css3-break/#page-break | |
269 syn match cssMultiColumnProp contained "\<page\(-break-\(before\|after\|inside\)\)\=\>" | |
270 | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
271 " http://www.w3.org/TR/SVG11/interact.html |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
272 syn match cssInteractProp contained "\<pointer-events\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
273 syn match cssInteractAttr contained "\<\(visible\)\=\(Painted\|Fill\|Stroke\)\=\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
274 |
5555 | 275 " TODO find following items in w3c docs. |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
276 syn keyword cssGeneratedContentProp contained quotes crop |
3830 | 277 syn match cssGeneratedContentProp contained "\<counter-\(reset\|increment\)\>" |
278 syn match cssGeneratedContentProp contained "\<move-to\>" | |
279 syn match cssGeneratedContentProp contained "\<page-policy\>" | |
280 syn match cssGeneratedContentAttr contained "\<\(no-\)\=\(open\|close\)-quote\>" | |
281 | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
282 " https://www.w3.org/TR/css-grid-1/ |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
283 syn match cssGridProp contained "\<grid\>" |
17909 | 284 syn match cssGridProp contained "\<grid-template\(-\(columns\|rows\|areas\)\)\=\>" |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
285 syn match cssGridProp contained "\<grid-\(column\|row\)\(-\(start\|end\|gap\)\)\=\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
286 syn match cssGridProp contained "\<grid-\(area\|gap\)\>" |
25973 | 287 syn match cssGridProp contained "\<gap\>" |
17909 | 288 syn match cssGridProp contained "\<grid-auto-\(flow\|rows\|columns\)\>" |
3830 | 289 |
290 syn match cssHyerlinkProp contained "\<target\(-\(name\|new\|position\)\)\=\>" | |
291 | |
292 syn match cssListProp contained "\<list-style\(-\(type\|position\|image\)\)\=\>" | |
293 syn match cssListAttr contained "\<\(lower\|upper\)-\(roman\|alpha\|greek\|latin\)\>" | |
294 syn match cssListAttr contained "\<\(hiragana\|katakana\)\(-iroha\)\=\>" | |
295 syn match cssListAttr contained "\<\(decimal\(-leading-zero\)\=\|cjk-ideographic\)\>" | |
296 syn keyword cssListAttr contained disc circle square hebrew armenian georgian | |
297 syn keyword cssListAttr contained inside outside | |
298 | |
25973 | 299 " object-fit https://www.w3.org/TR/css-images-3/#the-object-fit |
300 syn match cssObjectProp contained "\<object-\(fit\|position\)\>" | |
301 syn keyword cssObjectAttr contained fill contain cover scale-down | |
302 | |
3830 | 303 syn keyword cssPositioningProp contained bottom clear clip display float left |
304 syn keyword cssPositioningProp contained position right top visibility | |
305 syn match cssPositioningProp contained "\<z-index\>" | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
306 syn keyword cssPositioningAttr contained block compact grid |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
307 syn match cssPositioningAttr contained "\<table\(-\(row-group\|\(header\|footer\)-group\|row\|column\(-group\)\=\|cell\|caption\)\)\=\>" |
3830 | 308 syn keyword cssPositioningAttr contained left right both |
309 syn match cssPositioningAttr contained "\<list-item\>" | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
310 syn match cssPositioningAttr contained "\<inline\(-\(block\|box\|table\|grid\|flex\)\)\=\>" |
17909 | 311 syn match cssPositioningAttr contained "\<flow\(-root\)\=\>" |
25973 | 312 syn keyword cssPositioningAttr contained static relative absolute fixed subgrid sticky |
7 | 313 |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
314 syn keyword cssPrintAttr contained landscape portrait crop cross always |
3830 | 315 |
316 syn match cssTableProp contained "\<\(caption-side\|table-layout\|border-collapse\|border-spacing\|empty-cells\)\>" | |
317 syn keyword cssTableAttr contained fixed collapse separate show hide once always | |
318 | |
319 | |
17909 | 320 syn keyword cssTextProp contained color direction hyphens |
7 | 321 syn match cssTextProp "\<\(\(word\|letter\)-spacing\|text\(-\(decoration\|transform\|align\|index\|shadow\)\)\=\|vertical-align\|unicode-bidi\|line-height\)\>" |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
322 syn match cssTextProp contained "\<text-\(justify\|outline\|warp\|align-last\|size-adjust\|rendering\|stroke\|indent\)\>" |
17909 | 323 syn match cssTextProp contained "\<\(word\|line\)-break\|\(overflow\|word\)-wrap\>" |
3830 | 324 syn match cssTextProp contained "\<white-space\>" |
325 syn match cssTextProp contained "\<hanging-punctuation\>" | |
17909 | 326 syn match cssTextProp contained "\<tab-size\>" |
3830 | 327 syn match cssTextProp contained "\<punctuation-trim\>" |
7 | 328 syn match cssTextAttr contained "\<line-through\>" |
329 syn match cssTextAttr contained "\<\(text-\)\=\(top\|bottom\)\>" | |
3830 | 330 syn keyword cssTextAttr contained ltr rtl embed nowrap |
7 | 331 syn keyword cssTextAttr contained underline overline blink sub super middle |
3830 | 332 syn keyword cssTextAttr contained capitalize uppercase lowercase |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
333 syn keyword cssTextAttr contained justify baseline sub super |
17909 | 334 syn keyword cssTextAttr contained optimizeLegibility optimizeSpeed geometricPrecision |
3830 | 335 syn match cssTextAttr contained "\<pre\(-\(line\|wrap\)\)\=\>" |
336 syn match cssTextAttr contained "\<\(allow\|force\)-end\>" | |
337 syn keyword cssTextAttr contained start end adjacent | |
338 syn match cssTextAttr contained "\<inter-\(word\|ideographic\|cluster\)\>" | |
339 syn keyword cssTextAttr contained distribute kashida first last | |
340 syn keyword cssTextAttr contained clip ellipsis unrestricted suppress | |
341 syn match cssTextAttr contained "\<break-all\>" | |
342 syn match cssTextAttr contained "\<break-word\>" | |
17909 | 343 syn keyword cssTextAttr contained manual |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
344 syn match cssTextAttr contained "\<bidi-override\>" |
3830 | 345 |
346 syn match cssTransformProp contained "\<transform\(-\(origin\|style\)\)\=\>" | |
347 syn match cssTransformProp contained "\<perspective\(-origin\)\=\>" | |
348 syn match cssTransformProp contained "\<backface-visibility\>" | |
7 | 349 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
350 " CSS Transitions |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
351 " http://www.w3.org/TR/css3-transitions/ |
3830 | 352 syn match cssTransitionProp contained "\<transition\(-\(delay\|duration\|property\|timing-function\)\)\=\>" |
7 | 353 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
354 " transition-time-function attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
355 syn match cssTransitionAttr contained "\<linear\(-gradient\)\@!\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
356 syn match cssTransitionAttr contained "\<ease\(-\(in-out\|out\|in\)\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
357 syn match cssTransitionAttr contained "\<step\(-start\|-end\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
358 "------------------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
359 " CSS Basic User Interface Module Level 3 (CSS3 UI) |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
360 " http://www.w3.org/TR/css3-ui/ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
361 syn match cssUIProp contained "\<box-sizing\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
362 syn match cssUIAttr contained "\<\(content\|padding\|border\)\(-box\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
363 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
364 syn keyword cssUIProp contained cursor |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
365 syn match cssUIAttr contained "\<\(\([ns]\=[ew]\=\)\|col\|row\|nesw\|nwse\)-resize\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
366 syn keyword cssUIAttr contained crosshair help move pointer alias copy |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
367 syn keyword cssUIAttr contained progress wait text cell move |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
368 syn match cssUIAttr contained "\<context-menu\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
369 syn match cssUIAttr contained "\<no-drop\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
370 syn match cssUIAttr contained "\<not-allowed\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
371 syn match cssUIAttr contained "\<all-scroll\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
372 syn match cssUIAttr contained "\<\(vertical-\)\=text\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
373 syn match cssUIAttr contained "\<zoom\(-in\|-out\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
374 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
375 syn match cssUIProp contained "\<ime-mode\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
376 syn keyword cssUIAttr contained active inactive disabled |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
377 |
3830 | 378 syn match cssUIProp contained "\<nav-\(down\|index\|left\|right\|up\)\=\>" |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
379 syn match cssUIProp contained "\<outline\(-\(width\|style\|color\|offset\)\)\=\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
380 syn keyword cssUIAttr contained invert |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
381 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
382 syn keyword cssUIProp contained icon resize |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
383 syn keyword cssUIAttr contained both horizontal vertical |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
384 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
385 syn match cssUIProp contained "\<text-overflow\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
386 syn keyword cssUIAttr contained clip ellipsis |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
387 |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
388 syn match cssUIProp contained "\<image-rendering\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
389 syn keyword cssUIAttr contained pixellated |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
390 syn match cssUIAttr contained "\<crisp-edges\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
391 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
392 "------------------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
393 " Webkit/iOS specific attributes |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
394 syn match cssUIAttr contained '\<preserve-3d\>' |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
395 " IE specific attributes |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
396 syn match cssIEUIAttr contained '\<bicubic\>' |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
397 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
398 " Webkit/iOS specific properties |
26591 | 399 syn match cssUIProp contained '\<\(tap-highlight-color\|user-select\|touch-callout\)\>' |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
400 " IE specific properties |
26591 | 401 syn match cssIEUIProp contained '\<\(interpolation-mode\|zoom\|filter\)\>' |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
402 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
403 " Webkit/Firebox specific properties/attributes |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
404 syn keyword cssUIProp contained appearance |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
405 syn keyword cssUIAttr contained window button field icon document menu |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
406 |
7 | 407 |
408 syn match cssAuralProp contained "\<\(pause\|cue\)\(-\(before\|after\)\)\=\>" | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
409 syn match cssAuralProp contained "\<\(play-during\|speech-rate\|voice-family\|pitch\(-range\)\=\|speak\(-\(punctuation\|numeral\|header\)\)\=\)\>" |
7 | 410 syn keyword cssAuralProp contained volume during azimuth elevation stress richness |
411 syn match cssAuralAttr contained "\<\(x-\)\=\(soft\|loud\)\>" | |
412 syn keyword cssAuralAttr contained silent | |
413 syn match cssAuralAttr contained "\<spell-out\>" | |
414 syn keyword cssAuralAttr contained non mix | |
415 syn match cssAuralAttr contained "\<\(left\|right\)-side\>" | |
416 syn match cssAuralAttr contained "\<\(far\|center\)-\(left\|center\|right\)\>" | |
417 syn keyword cssAuralAttr contained leftwards rightwards behind | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
418 syn keyword cssAuralAttr contained below level above lower higher |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
419 syn match cssAuralAttr contained "\<\(x-\)\=\(slow\|fast\|low\|high\)\>" |
7 | 420 syn keyword cssAuralAttr contained faster slower |
421 syn keyword cssAuralAttr contained male female child code digits continuous | |
3830 | 422 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
423 " mobile text |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
424 syn match cssMobileTextProp contained "\<text-size-adjust\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
425 |
17909 | 426 syn keyword cssMediaProp contained width height orientation scan |
26591 | 427 syn keyword cssMediaProp contained any-hover any-pointer color-gamut grid hover |
428 syn keyword cssMediaProp contained overflow-block overflow-inline pointer update | |
429 syn match cssMediaProp contained /\<\(\(max\|min\)-\)\=\(\(device\)-\)\=aspect-ratio\>/ | |
430 syn match cssMediaProp contained /\<\(\(max\|min\)-\)\=device-pixel-ratio\>/ | |
431 syn match cssMediaProp contained /\<\(\(max\|min\)-\)\=device-\(height\|width\)\>/ | |
432 syn match cssMediaProp contained /\<\(\(max\|min\)-\)\=\(height\|width\|resolution\|monochrome\|color\(-index\)\=\)\>/ | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
433 syn keyword cssMediaAttr contained portrait landscape progressive interlace |
26591 | 434 syn keyword cssMediaAttr contained coarse fast fine hover infinite p3 paged |
435 syn keyword cssMediaAttr contained rec2020 scroll slow srgb | |
17909 | 436 syn match cssKeyFrameProp contained /\(\d\+\(\.\d\+\)\?%\|\(\<from\|to\>\)\)/ nextgroup=cssDefinition |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
437 syn match cssPageMarginProp /@\(\(top\|left\|right\|bottom\)-\(left\|center\|right\|middle\|bottom\)\)\(-corner\)\=/ contained nextgroup=cssDefinition |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
438 syn keyword cssPageProp contained content size |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
439 syn keyword cssPageProp contained orphans widows |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
440 syn keyword cssFontDescriptorProp contained src |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
441 syn match cssFontDescriptorProp contained "\<unicode-range\>" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
442 " unicode-range attributes |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
443 syn match cssFontDescriptorAttr contained "U+[0-9A-Fa-f?]\+" |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
444 syn match cssFontDescriptorAttr contained "U+\x\+-\x\+" |
7 | 445 |
446 syn match cssBraces contained "[{}]" | |
447 syn match cssError contained "{@<>" | |
17909 | 448 syn region cssDefinition transparent matchgroup=cssBraces start='{' end='}' contains=cssTagName,cssAttributeSelector,cssClassName,cssIdentifier,cssAtRule,cssAttrRegion,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssCustomProp,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssHacks,cssNoise fold |
7 | 449 syn match cssBraceError "}" |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
450 syn match cssAttrComma "," |
7 | 451 |
3830 | 452 " Pseudo class |
26591 | 453 " https://www.w3.org/TR/selectors-4/ |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
454 syn match cssPseudoClass ":[A-Za-z0-9_-]*" contains=cssNoise,cssPseudoClassId,cssUnicodeEscape,cssVendor,cssPseudoClassFn |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
455 syn keyword cssPseudoClassId contained link visited active hover before after left right |
26591 | 456 syn keyword cssPseudoClassId contained root empty target enabled disabled checked invalid |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
457 syn match cssPseudoClassId contained "\<first-\(line\|letter\)\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
458 syn match cssPseudoClassId contained "\<\(first\|last\|only\)-\(of-type\|child\)\>" |
26591 | 459 syn match cssPseudoClassId contained "\<focus\(-within\|-visible\)\=\>" |
460 syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<\(not\|is\|lang\|\(nth\|nth-last\)-\(of-type\|child\)\)(" end=")" contains=cssStringQ,cssStringQQ,cssTagName,cssAttributeSelector,cssClassName,cssIdentifier | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
461 " ------------------------------------ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
462 " Vendor specific properties |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
463 syn match cssPseudoClassId contained "\<selection\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
464 syn match cssPseudoClassId contained "\<\(input-\)\=placeholder\>" |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
465 |
6823 | 466 " Misc highlight groups |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
467 syntax match cssUnitDecorators /\(#\|-\|+\|%\|mm\|cm\|in\|pt\|pc\|em\|ex\|px\|ch\|rem\|vh\|vw\|vmin\|vmax\|dpi\|dppx\|dpcm\|Hz\|kHz\|s\|ms\|deg\|grad\|rad\)/ contained |
6823 | 468 syntax match cssNoise contained /\(:\|;\|\/\)/ |
7 | 469 |
3830 | 470 " Comment |
5369
5bfefa47d4a0
Fix problem with 'iskeyword' in CSS syntax.
Bram Moolenaar <bram@vim.org>
parents:
5362
diff
changeset
|
471 syn region cssComment start="/\*" end="\*/" contains=@Spell fold |
7 | 472 |
473 syn match cssUnicodeEscape "\\\x\{1,6}\s\?" | |
5555 | 474 syn match cssSpecialCharQQ +\\\\\|\\"+ contained |
475 syn match cssSpecialCharQ +\\\\\|\\'+ contained | |
7 | 476 syn region cssStringQQ start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=cssUnicodeEscape,cssSpecialCharQQ |
477 syn region cssStringQ start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=cssUnicodeEscape,cssSpecialCharQ | |
3830 | 478 |
479 " Vendor Prefix | |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
480 syn match cssVendor contained "-\(webkit\|moz\|o\|ms\)-" |
3830 | 481 |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
482 " Various CSS Hack characters |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
483 " In earlier versions of IE (6 and 7), one can prefix property names |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
484 " with a _ or * to isolate those definitions to particular versions of IE |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
485 " This is purely decorative and therefore we assign to the same highlight |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
486 " group to cssVendor, for more information: |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
487 " http://www.paulirish.com/2009/browser-specific-css-hacks/ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
488 syn match cssHacks contained /\(_\|*\)/ |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
489 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
490 " Attr Enhance |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
491 " Some keywords are both Prop and Attr, so we have to handle them |
17909 | 492 " cssPseudoClassId is hidden by cssAttrRegion, so we add it here. see #69 |
493 syn region cssAttrRegion start=/:/ end=/\ze\(;\|)\|}\|{\)/ contained contains=cssPseudoClassId,css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
494 |
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
495 " Hack for transition |
6823 | 496 " 'transition' has Props after ':'. |
497 syn region cssAttrRegion start=/transition\s*:/ end=/\ze\(;\|)\|}\)/ contained contains=css.*Prop,css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise | |
5362
ab1508486b12
Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents:
5239
diff
changeset
|
498 |
17909 | 499 syn match cssAtKeyword /@\(font-face\|media\|keyframes\|import\|charset\|namespace\|page\|supports\)/ |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
500 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
501 syn keyword cssAtRuleLogical only not and contained |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
502 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
503 " @media |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
504 " Reference: http://www.w3.org/TR/css3-mediaqueries/ |
17909 | 505 syn region cssAtRule start=/@media\>/ end=/\ze{/ skipwhite skipnl matchgroup=cssAtKeyword contains=cssMediaProp,cssValueLength,cssAtRuleLogical,cssValueInteger,cssMediaAttr,cssVendor,cssMediaType,cssComment,cssCustomProp,cssFunctionName nextgroup=cssDefinition |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
506 syn keyword cssMediaType contained screen print aural braille embossed handheld projection tty tv speech all contained |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
507 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
508 " @page |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
509 " http://www.w3.org/TR/css3-page/ |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
510 syn region cssAtRule start=/@page\>/ end=/\ze{/ skipwhite skipnl matchgroup=cssAtKeyword contains=cssPagePseudo,cssComment nextgroup=cssDefinition |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
511 syn match cssPagePseudo /:\(left\|right\|first\|blank\)/ contained skipwhite skipnl |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
512 " @keyframe |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
513 " http://www.w3.org/TR/css3-animations/#keyframes |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
514 syn region cssAtRule start=/@\(-[a-z]\+-\)\=keyframes\>/ end=/\ze{/ skipwhite skipnl matchgroup=cssAtKeyword contains=cssVendor,cssComment nextgroup=cssDefinition |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
515 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
516 syn region cssAtRule start=/@import\>/ end=/\ze;/ contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssAtKeyword,cssURL,cssMediaProp,cssValueLength,cssAtRuleLogical,cssValueInteger,cssMediaAttr,cssMediaType |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
517 syn region cssAtRule start=/@charset\>/ end=/\ze;/ contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssAtKeyword |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
518 syn region cssAtRule start=/@namespace\>/ end=/\ze;/ contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssAtKeyword |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
519 |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
520 " @supports |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
521 " https://www.w3.org/TR/css3-conditional/#at-supports |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
522 syn region cssAtRule start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=cssAtRuleLogical,cssAttrRegion,css.*Prop,cssValue.*,cssVendor,cssAtKeyword,cssComment nextgroup=cssDefinition |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
523 |
7 | 524 |
525 if main_syntax == "css" | |
526 syn sync minlines=10 | |
527 endif | |
528 | |
529 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
6823
diff
changeset
|
530 " Only when an item doesn't have highlighting yet |
7 | 531 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
532 hi def link cssComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
533 hi def link cssVendor Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
534 hi def link cssHacks Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
535 hi def link cssTagName Statement |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
536 hi def link cssDeprecated Error |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
537 hi def link cssSelectorOp Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
538 hi def link cssSelectorOp2 Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
539 hi def link cssAttrComma Special |
3830 | 540 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
541 hi def link cssAnimationProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
542 hi def link cssBackgroundProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
543 hi def link cssBorderProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
544 hi def link cssBoxProp cssProp |
17909 | 545 hi def link cssCascadeProp cssProp |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
546 hi def link cssColorProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
547 hi def link cssContentForPagedMediaProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
548 hi def link cssDimensionProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
549 hi def link cssFlexibleBoxProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
550 hi def link cssFontProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
551 hi def link cssGeneratedContentProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
552 hi def link cssGridProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
553 hi def link cssHyerlinkProp cssProp |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
554 hi def link cssInteractProp cssProp |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
555 hi def link cssLineboxProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
556 hi def link cssListProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
557 hi def link cssMarqueeProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
558 hi def link cssMultiColumnProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
559 hi def link cssPagedMediaProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
560 hi def link cssPositioningProp cssProp |
25973 | 561 hi def link cssObjectProp cssProp |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
562 hi def link cssPrintProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
563 hi def link cssRubyProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
564 hi def link cssSpeechProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
565 hi def link cssTableProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
566 hi def link cssTextProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
567 hi def link cssTransformProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
568 hi def link cssTransitionProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
569 hi def link cssUIProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
570 hi def link cssIEUIProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
571 hi def link cssAuralProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
572 hi def link cssRenderProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
573 hi def link cssMobileTextProp cssProp |
3830 | 574 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
575 hi def link cssAnimationAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
576 hi def link cssBackgroundAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
577 hi def link cssBorderAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
578 hi def link cssBoxAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
579 hi def link cssContentForPagedMediaAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
580 hi def link cssDimensionAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
581 hi def link cssFlexibleBoxAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
582 hi def link cssFontAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
583 hi def link cssGeneratedContentAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
584 hi def link cssGridAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
585 hi def link cssHyerlinkAttr cssAttr |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
586 hi def link cssInteractAttr cssAttr |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
587 hi def link cssLineboxAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
588 hi def link cssListAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
589 hi def link cssMarginAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
590 hi def link cssMarqueeAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
591 hi def link cssMultiColumnAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
592 hi def link cssPaddingAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
593 hi def link cssPagedMediaAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
594 hi def link cssPositioningAttr cssAttr |
25973 | 595 hi def link cssObjectAttr cssAttr |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
596 hi def link cssGradientAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
597 hi def link cssPrintAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
598 hi def link cssRubyAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
599 hi def link cssSpeechAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
600 hi def link cssTableAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
601 hi def link cssTextAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
602 hi def link cssTransformAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
603 hi def link cssTransitionAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
604 hi def link cssUIAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
605 hi def link cssIEUIAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
606 hi def link cssAuralAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
607 hi def link cssRenderAttr cssAttr |
17909 | 608 hi def link cssCascadeAttr cssAttr |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
609 hi def link cssCommonAttr cssAttr |
3830 | 610 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
611 hi def link cssPseudoClassId PreProc |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
612 hi def link cssPseudoClassLang Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
613 hi def link cssValueLength Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
614 hi def link cssValueInteger Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
615 hi def link cssValueNumber Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
616 hi def link cssValueAngle Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
617 hi def link cssValueTime Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
618 hi def link cssValueFrequency Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
619 hi def link cssFunction Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
620 hi def link cssURL String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
621 hi def link cssFunctionName Function |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
622 hi def link cssFunctionComma Function |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
623 hi def link cssColor Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
624 hi def link cssIdentifier Function |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
625 hi def link cssAtRule Include |
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
626 hi def link cssAtKeyword PreProc |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
627 hi def link cssImportant Special |
17909 | 628 hi def link cssCustomProp Special |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
629 hi def link cssBraces Function |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
630 hi def link cssBraceError Error |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
631 hi def link cssError Error |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
632 hi def link cssUnicodeEscape Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
633 hi def link cssStringQQ String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
634 hi def link cssStringQ String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
635 hi def link cssAttributeSelector String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
636 hi def link cssMediaType Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
637 hi def link cssMediaComma Normal |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
638 hi def link cssAtRuleLogical Statement |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
639 hi def link cssMediaProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
640 hi def link cssMediaAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
641 hi def link cssPagePseudo PreProc |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
642 hi def link cssPageMarginProp cssAtKeyword |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
643 hi def link cssPageProp cssProp |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
10617
diff
changeset
|
644 hi def link cssKeyFrameProp Constant |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
645 hi def link cssFontDescriptor Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
646 hi def link cssFontDescriptorProp cssProp |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
647 hi def link cssFontDescriptorAttr cssAttr |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
648 hi def link cssUnicodeRange Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
649 hi def link cssClassName Function |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
650 hi def link cssClassNameDot Function |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
651 hi def link cssProp StorageClass |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
652 hi def link cssAttr Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
653 hi def link cssUnitDecorators Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
654 hi def link cssNoise Noise |
7 | 655 |
656 let b:current_syntax = "css" | |
657 | |
658 if main_syntax == 'css' | |
659 unlet main_syntax | |
660 endif | |
661 | |
3854 | 662 let &cpo = s:cpo_save |
663 unlet s:cpo_save | |
22565 | 664 |
7 | 665 " vim: ts=8 |