mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
76 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39e6999142 | ||
|
|
d4fb6dfd46 | ||
|
|
bb0b14c8ad | ||
|
|
d578651937 | ||
|
|
d9f7b79780 | ||
|
|
26f59493b9 | ||
|
|
1d8006de19 | ||
|
|
0caf93fcd5 | ||
|
|
ddf0eb895b | ||
|
|
c988c907b1 | ||
|
|
bb5e83b87e | ||
|
|
1c12bd23d3 | ||
|
|
affd38a44b | ||
|
|
f1717bf967 | ||
|
|
3c2368b4ca | ||
|
|
d7f0f43dfc | ||
|
|
148d27c9d4 | ||
|
|
1f314d95de | ||
|
|
ef5b1c791a | ||
|
|
119c13f32a | ||
|
|
91840fcbcf | ||
|
|
c6aba8159f | ||
|
|
85a16304be | ||
|
|
61cc3366f8 | ||
|
|
4337a246ac | ||
|
|
0b516ea879 | ||
|
|
03c1c9001d | ||
|
|
feea4b6c25 | ||
|
|
53eef9c64c | ||
|
|
ef50fcbe7e | ||
|
|
be717f2c70 | ||
|
|
47b3ce2e5a | ||
|
|
cf22db698e | ||
|
|
6ed54d346b | ||
|
|
b2d66799b7 | ||
|
|
da0119205e | ||
|
|
4e71c04913 | ||
|
|
8c6b5eaf1f | ||
|
|
afcbfc85a8 | ||
|
|
3e40dde46c | ||
|
|
087d9db240 | ||
|
|
36900064ff | ||
|
|
98cfdbf087 | ||
|
|
de5a0e2dc2 | ||
|
|
af01de4490 | ||
|
|
f18eabedc0 | ||
|
|
51c5ee1f88 | ||
|
|
77e3358574 | ||
|
|
0aa17c3079 | ||
|
|
928b94ea6c | ||
|
|
123abe00c6 | ||
|
|
33d7eb1218 | ||
|
|
d7d7f60fe8 | ||
|
|
e09eb1d37a | ||
|
|
4e6ef67e51 | ||
|
|
d8681a0d5e | ||
|
|
0ce5d19c35 | ||
|
|
db86f3acd0 | ||
|
|
56e9026121 | ||
|
|
a1345ce338 | ||
|
|
fca7100977 | ||
|
|
4832514608 | ||
|
|
7caa7719df | ||
|
|
31e5506234 | ||
|
|
f2760f867c | ||
|
|
4285ca74a3 | ||
|
|
0862797623 | ||
|
|
f71e26a0a4 | ||
|
|
2cc2be3afd | ||
|
|
8d36b7e632 | ||
|
|
34fadbd24a | ||
|
|
ee365d3727 | ||
|
|
f21174778a | ||
|
|
3cf4415567 | ||
|
|
912de28994 | ||
|
|
9ee9e64622 |
@@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for
|
||||
INSTALLATION
|
||||
------------
|
||||
|
||||
I **strongly** recommend to install this plugin on *Vim 8.0 or higher with
|
||||
I **strongly** recommend to install this plugin on *Vim 8.1 or higher with
|
||||
default runtime files*.
|
||||
|
||||
|
||||
|
||||
5
after/syntax/css/align-3.vim
Normal file
5
after/syntax/css/align-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<place-\(self\|content\|items\)\>"
|
||||
syn match cssFontProp contained "\<\(row-\)\=gap\>"
|
||||
syn keyword cssFontAttr contained safe unsafe legacy
|
||||
syn match cssFontAttr contained "\<self-\(start\|end\)\>"
|
||||
syn match cssFontAttr contained "\<space-evenly\>"
|
||||
0
after/syntax/css/animations-1.vim
Normal file
0
after/syntax/css/animations-1.vim
Normal file
0
after/syntax/css/backgrounds-3.vim
Normal file
0
after/syntax/css/backgrounds-3.vim
Normal file
9
after/syntax/css/box-3.vim
Normal file
9
after/syntax/css/box-3.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
syn match cssBoxProp contained "\<margin-trim\>"
|
||||
syn match cssBoxAttr contained "\<in-flow\>"
|
||||
" These will be moved to block-3
|
||||
syn match cssBoxProp contained "\<clear-after\>"
|
||||
syn match cssBoxProp contained "\<float-displace\>"
|
||||
syn match cssBoxProp contained "\<indent-edge-reset\>"
|
||||
syn keyword cssBoxAttr contained scrollbar panner marquee decendants
|
||||
syn match cssBoxAttr contained "\<block-within-page\>"
|
||||
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"
|
||||
1
after/syntax/css/break-3.vim
Normal file
1
after/syntax/css/break-3.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssFontAttr contained recto verso
|
||||
2
after/syntax/css/break-4.vim
Normal file
2
after/syntax/css/break-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssBoxProp contained "\<margin-break\>"
|
||||
syn keyword cssFontAttr contained keep
|
||||
0
after/syntax/css/color-3.vim
Normal file
0
after/syntax/css/color-3.vim
Normal file
2
after/syntax/css/color-4.vim
Normal file
2
after/syntax/css/color-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
3
after/syntax/css/color-adjust.vim
Normal file
3
after/syntax/css/color-adjust.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained only economy exact
|
||||
@@ -1,4 +1,3 @@
|
||||
" TODO: create cssCompositingProp and cssCompositingAttr
|
||||
syn keyword cssFontProp contained isolation
|
||||
syn match cssFontProp contained "\<\(mix\|background\)-blend-mode\>"
|
||||
syn keyword cssFontAttr contained multiply screen overlay darken lighten color-dodge color-burn hard-light soft-light difference exclusion hue saturation color luminosity
|
||||
|
||||
0
after/syntax/css/conditional-3.vim
Normal file
0
after/syntax/css/conditional-3.vim
Normal file
@@ -1,5 +1,3 @@
|
||||
" TODO: create cssCounterStyleDescriptor for `@counter-style` descriptors
|
||||
syn region cssInclude start=/@counter-style\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||
syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback
|
||||
syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>"
|
||||
syn match cssGeneratedContentProp contained "\<speak-as\>"
|
||||
@@ -12,3 +10,4 @@ syn match cssGeneratedContentAttr contained "\<disclosure-\(open\|closed\)\>"
|
||||
syn match cssGeneratedContentAttr contained "\<\(japanese\|korean-hanja\|\(simp\|trad\)-chinese\)-\(in\)\=formal\>"
|
||||
syn match cssGeneratedContentAttr contained "\<korean-hangul-formal\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<symbols\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@counter-style\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1,5 +0,0 @@
|
||||
syn match cssFontProp contained "\<\(justify\|align\|place\)-\(self\|content\|items\)\>"
|
||||
syn match cssFontProp contained "\<\(\(row\|column\)-\)\=gap\>"
|
||||
syn keyword cssFontAttr contained safe unsafe legacy
|
||||
syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>"
|
||||
syn match cssFontAttr contained "\<space-\(between\|around\|evenly\)\>"
|
||||
@@ -1,3 +0,0 @@
|
||||
syn match cssFontProp contained "\<animation\(-\(name\|duration\|timing-function\|iteration-count\|direction\|play-state\|delay\|fill-mode\)\)\=\>"
|
||||
syn keyword cssFontAttr contained forwards backwards running paused
|
||||
syn match cssFontAttr contained "\<alternate-reverse\>"
|
||||
@@ -1,6 +0,0 @@
|
||||
syn match cssFontProp contained "\<background-\(clip\|origin\|size\)\>"
|
||||
syn match cssFontProp contained "\<border-image\(-\(source\|slice\|width\|outset\|repeat\)\)\=\>"
|
||||
syn match cssFontProp contained "\<border-\(\(top-right\|bottom-right\|bottom-left\|top-left\)-\)\=radius\>"
|
||||
syn match cssFontProp contained "\<box-shadow\>"
|
||||
syn keyword cssFontAttr contained space round local fill stretch clone slice
|
||||
syn match cssFontAttr contained "\<\(padding\|border\|content\)-box\>"
|
||||
@@ -1,3 +0,0 @@
|
||||
syn match cssFontProp contained "\<break-\(after\|before\|inside\)\>"
|
||||
syn match cssFontProp contained "\<box-decoration-break\>"
|
||||
syn match cssFontAttr contained "\<\(avoid-\)\=column\>"
|
||||
@@ -1,3 +0,0 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsla\=\)\s*(" end=")" oneline keepend
|
||||
syn keyword cssColorProp contained opacity
|
||||
syn match cssColor contained "\<currentcolor\>"
|
||||
@@ -1,5 +0,0 @@
|
||||
syn match cssColorProp contained "\<color-adjust\>"
|
||||
syn keyword cssColor contained rebeccapurple
|
||||
syn match cssColor contained "#[0-9A-Fa-f]\{8\}\>" contains=cssUnitDecorators
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1,2 +0,0 @@
|
||||
syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>"
|
||||
syn region cssInclude start=/@viewport\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||
@@ -1,5 +0,0 @@
|
||||
syn keyword cssFontProp order
|
||||
syn match cssFontProp contained "\<flex\(-\(basis\|direction\|flow\|grow\|shrink\|wrap\)\)\=\>"
|
||||
syn keyword cssFontAttr contained flex row wrap
|
||||
syn match cssFontAttr contained "\<inline-flex\>"
|
||||
syn match cssFontAttr contained "\<\(row\|column\|wrap\)-reverse\>"
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1,16 +0,0 @@
|
||||
syn match cssFontProp contained "\<font-feature-settings\>"
|
||||
syn match cssFontProp contained "\<font-kerning\>"
|
||||
syn match cssFontProp contained "\<font-synthesis\>"
|
||||
syn match cssFontProp contained "\<font-variant-\(alternates\|caps\|east-asian\|ligatures\|numeric\|position\)\>"
|
||||
syn keyword cssFontAttr contained unicase ordinal jis78 jis83 jis90 jis04 simplified traditional
|
||||
syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>"
|
||||
syn match cssFontAttr contained "\<\(no-\)\=contextual\>"
|
||||
syn match cssFontAttr contained "\<historical-forms\>"
|
||||
syn match cssFontAttr contained "\<all-small-caps\>"
|
||||
syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>"
|
||||
syn match cssFontAttr contained "\<titling-caps\>"
|
||||
syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>"
|
||||
syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>"
|
||||
syn match cssFontAttr contained "\<slashed-zero\>"
|
||||
syn match cssFontAttr contained "\<proportional-width\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||
@@ -1,9 +0,0 @@
|
||||
syn match cssFontProp contained "\<grid-template\(-\(columns\|rows\|areas\)\)\=\>"
|
||||
syn match cssFontProp contained "\<grid-auto-\(columns\|rows\|flow\)\>"
|
||||
syn match cssFontProp contained "\<grid-\(row\|column\)\(-\(start\|end\)\)\=\>"
|
||||
syn match cssFontProp contained "\<grid-area\>"
|
||||
syn keyword cssFontAttr contained grid dense span
|
||||
syn match cssFontAttr contained "\<inline-grid\>"
|
||||
syn match cssFontAttr contained "\<auto-flow\>"
|
||||
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1,3 +0,0 @@
|
||||
syn keyword cssFontProp contained columns
|
||||
syn match cssFontProp contained "\<column-\(count\|fill\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
|
||||
syn match cssFontAttr contained "\<balance\(-all\)\=\>"
|
||||
@@ -1 +0,0 @@
|
||||
syn match cssFontProp contained "\<max-lines\>"
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1,6 +0,0 @@
|
||||
syn match cssFontProp contained "\<backface-visibility\>"
|
||||
syn match cssFontProp contained "\<perspective\(-origin\)\=\>"
|
||||
syn match cssFontProp contained "\<transform\(-\(origin\|style\)\)\=\>"
|
||||
syn keyword cssFontAttr contained flat
|
||||
syn match cssFontAttr contained "\<preserve-3d\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(matrix\(3d\)\=\|translate\(3d\|X\|Y\|Z\)\=\|scale\(3d\|X\|Y\|Z\)\=\|rotate\(3d\|X\|Y\|Z\)\=\|skew\(X\|Y\)\=\|perspective\)\s*(" end=")" oneline keepend
|
||||
@@ -1,5 +0,0 @@
|
||||
syn match cssFontProp contained "\<transition\(-\(property\|duration\|timing-function\|delay\)\)\=\>"
|
||||
syn keyword cssFontAttr contained linear
|
||||
syn match cssFontAttr contained "\<ease\(-\(in\|out\|in-out\)\)\=\>"
|
||||
syn match cssFontAttr contained "\<step-\(start\|end\)\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(steps\|cubic-bezier\)\s*(" end=")" oneline keepend
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1,5 +0,0 @@
|
||||
syn match cssBoxProp contained "\<overflow-\(style\|x\|y\)\>"
|
||||
syn match cssBoxProp contained "\<rotation\(-point\)\=\>"
|
||||
syn keyword cssBoxAttr contained scrollbar panner marquee
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
||||
syn match cssBoxAttr contained "\<no-\(display\|content\)\>"
|
||||
@@ -1 +0,0 @@
|
||||
syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
@@ -1,3 +0,0 @@
|
||||
" TODO: Create cssPageAttr group
|
||||
syn keyword cssFontAttr contained recto verso
|
||||
syn match cssFontAttr contained "\<\(avoid-\)\=page\>"
|
||||
@@ -1,6 +0,0 @@
|
||||
syn match cssAuralProp contained "\<voice-\(volume\|balance\|rate\|pitch\|range\|stress\|duration\)\>"
|
||||
syn match cssAuralProp contained "\<rest\(-\(before\|after\)\)\=\>"
|
||||
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced
|
||||
syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>"
|
||||
syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>"
|
||||
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
|
||||
2
after/syntax/css/device-adapt-1.vim
Normal file
2
after/syntax/css/device-adapt-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>"
|
||||
syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1,2 +1,3 @@
|
||||
syn keyword cssFontAttr contained contents discard
|
||||
syn match cssFontAttr contained "\<flow\(-root\)\=\>"
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
||||
0
after/syntax/css/easing-1.vim
Normal file
0
after/syntax/css/easing-1.vim
Normal file
0
after/syntax/css/flexbox-1.vim
Normal file
0
after/syntax/css/flexbox-1.vim
Normal file
0
after/syntax/css/font-loading-3.vim
Normal file
0
after/syntax/css/font-loading-3.vim
Normal file
10
after/syntax/css/fonts-3.vim
Normal file
10
after/syntax/css/fonts-3.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
syn keyword cssFontAttr contained unicase jis78 jis83 jis90 jis04 simplified traditional ordinal
|
||||
syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>"
|
||||
syn match cssFontAttr contained "\<\(no-\)\=contextual\>"
|
||||
syn match cssFontAttr contained "\<all-small-caps\>"
|
||||
syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>"
|
||||
syn match cssFontAttr contained "\<titling-caps\>"
|
||||
syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>"
|
||||
syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>"
|
||||
syn match cssFontAttr contained "\<proportional-width\>"
|
||||
syn match cssFontAttr contained "\<slashed-zero\>"
|
||||
@@ -5,8 +5,11 @@ syn match cssFontProp contained "\<font-variation-settings\>"
|
||||
syn match cssFontProp contained "\<font-palette\>"
|
||||
syn match cssFontProp contained "\<font-presentation\>"
|
||||
syn match cssFontProp contained "\<base-palette\>"
|
||||
syn match cssFontProp contained "\<font-language-override\>"
|
||||
syn match cssFontProp contained "\<override-color\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||
syn match cssFontAttr contained "\<system-ui\>"
|
||||
syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||
syn match cssFontAttr contained "\<historical-forms\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1 +0,0 @@
|
||||
" N/A
|
||||
|
||||
5
after/syntax/css/grid-1.vim
Normal file
5
after/syntax/css/grid-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<grid-template\>"
|
||||
syn keyword cssFontAttr contained dense span
|
||||
syn match cssFontAttr contained "\<auto-flow\>"
|
||||
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
|
||||
@@ -1,2 +1 @@
|
||||
syn keyword cssFontAttr contained subgrid
|
||||
syn match cssValueNumber contained "\d\(.\d\+\)\=ar"
|
||||
@@ -1,6 +1,6 @@
|
||||
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
||||
syn match cssFontProp contained "\<image-orientation\>"
|
||||
syn keyword cssFontAttr contained contain cover snap
|
||||
syn match cssFontAttr contained "\<from-image\>"
|
||||
syn keyword cssFontAttr contained snap
|
||||
syn match cssFontAttr contained "\<scale-down\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||
syn match cssFontAttr contained "\<from-image\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||
@@ -1,4 +1,5 @@
|
||||
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
||||
syn match cssFontProp contained "\<baseline-shift\>"
|
||||
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\="
|
||||
syn match cssFontProp contained "\<inline-sizing\>"
|
||||
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
|
||||
syn keyword cssFontAttr contained mathematical ideographic
|
||||
0
after/syntax/css/layout-api-1.vim
Normal file
0
after/syntax/css/layout-api-1.vim
Normal file
@@ -1,4 +1,3 @@
|
||||
" TODO: create cssLineGridProp and cssLineGridAttr
|
||||
syn match cssFontProp contained "\<line-\(grid\|snap\)"
|
||||
syn match cssFontProp contained "\<box-snap\>"
|
||||
syn keyword cssFontAttr contained create
|
||||
@@ -1,6 +1,6 @@
|
||||
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
||||
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
||||
syn keyword cssGeneratedContentAttr contained marker
|
||||
syn match cssGeneratedContentAttr contained "\<match-self\>"
|
||||
syn match cssGeneratedContentAttr contained "\<list-container\>"
|
||||
syn keyword cssPseudoClassId contained marker
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
|
||||
@@ -1,5 +1,5 @@
|
||||
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
||||
syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<\(background\|border\)-image-transform\>"
|
||||
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
||||
syn keyword cssFontAttr contained logical physical rotate
|
||||
@@ -1,10 +1,7 @@
|
||||
" TODO: create cssMaskingProp group and cssMaskingValue group
|
||||
syn match cssFontProp contained "\<clip-\(path\|rule\)\>"
|
||||
syn match cssFontProp contained "\<mask\(-\(image\|mode\|repeat\|position\|clip\|origin\|size\|composite\|type\)\)\=\>"
|
||||
syn match cssFontProp contained "\<mask-border\(-\(source\|mode\|slice\|width\|outset\|repeat\)\)\=\>"
|
||||
syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude
|
||||
syn match cssFontAttr contained "\<\(fill\|stroke\|view\)-box\>"
|
||||
syn match cssFontAttr contained "\<no-clip\>"
|
||||
|
||||
" http://www.w3.org/TR/css-masking/#MaskElement
|
||||
syn keyword cssTagName mask
|
||||
syn match cssTagName "\<mask\>"
|
||||
@@ -1,2 +1,2 @@
|
||||
syn match cssFontProp contained "\<offset\(-\(path\|distance\|anchor\|rotate\)\)\=\>"
|
||||
syn match cssFontProp contained "\<offset\(-\(path\|distance\|position\|anchor\|rotate\)\)\=\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
|
||||
|
||||
1
after/syntax/css/multicol-1.vim
Normal file
1
after/syntax/css/multicol-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontAttr contained "\<balance\(-all\)\=\>"
|
||||
0
after/syntax/css/namespace-3.vim
Normal file
0
after/syntax/css/namespace-3.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>"
|
||||
syn keyword cssFontAttr contained focus
|
||||
5
after/syntax/css/overflow-3.vim
Normal file
5
after/syntax/css/overflow-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn keyword cssFontProp contained continue
|
||||
syn match cssFontProp contained "\<block-overflow\>"
|
||||
syn match cssFontProp contained "\<line-clamp\>"
|
||||
syn match cssFontProp contained "\<max-lines\>"
|
||||
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"
|
||||
@@ -1,4 +1,3 @@
|
||||
syn keyword cssFontProp contained continue
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
||||
1
after/syntax/css/page-3.vim
Normal file
1
after/syntax/css/page-3.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssFontProp contained marks bleed
|
||||
0
after/syntax/css/properties-values-api-1.vim
Normal file
0
after/syntax/css/properties-values-api-1.vim
Normal file
@@ -1,5 +1,5 @@
|
||||
syn region cssInclude start=/@scope\>/ end=/\ze{/ skipwhite skipnl nextgroup=cssMediaBlock
|
||||
syn keyword cssPseudoClassId contained host shadow content
|
||||
syn match cssPseudoClassId contained "\<\(scope\|host\)-context\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(host\)(" end=")" oneline
|
||||
syn match cssSelectorOp2 "/deep/"
|
||||
syn match cssFontDescriptor "@scope\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1,5 +1,2 @@
|
||||
syn keyword cssPseudoClassId contained target enabled disabled checked indeterminate root empty
|
||||
syn match cssPseudoClassId contained "\<last-\(child\|of-type\)\>"
|
||||
syn match cssPseudoClassId contained "\<first-of-type\>"
|
||||
syn match cssPseudoClassId contained "\<only-\(child\|of-type\)\>"
|
||||
syn keyword cssPseudoClassId contained enabled indeterminate
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
syn match cssSelectorOp "[|]"
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid invalid required optional blank playing paused
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused
|
||||
syn match cssPseudoClassId contained "\<\(any\|local\)-link\>"
|
||||
syn match cssPseudoClassId contained "\<read-\(only\|write\)\>"
|
||||
syn match cssPseudoClassId contained "\<placeholder-shown\>"
|
||||
@@ -7,4 +7,4 @@ syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||
syn match cssPseudoClassId contained "\<target-within\>"
|
||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|drop\)(" end=")" oneline
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||
|
||||
@@ -1 +1 @@
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline
|
||||
0
after/syntax/css/style-attr.vim
Normal file
0
after/syntax/css/style-attr.vim
Normal file
@@ -1,20 +1,15 @@
|
||||
syn keyword cssTagName animate animateMotion animateTransform circle clipPath cursor defs desc discard ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g hatch hatchpath image line linearGradient marker mesh meshgradient meshpatch meshrow metadata mpath path pattern polygon polyline radialGradient rect set solidcolor stop switch symbol text textPath tspan unknown use view
|
||||
|
||||
syn keyword cssFontProp contained cx cy d r rx ry x y
|
||||
syn match cssFontProp contained "\<color-\(interpolation\|rendering\)\>"
|
||||
syn match cssFontProp contained "\<image-rendering\>"
|
||||
syn match cssFontProp contained "\<marker-\(end\|mid\|start\)\>"
|
||||
syn match cssFontProp contained "\<pointer-events\>"
|
||||
syn match cssFontProp contained "\<shape-rendering\>"
|
||||
syn match cssFontProp contained "\<solid-\(color\|opacity\)\>"
|
||||
syn match cssFontProp contained "\<stop-\(color\|opacity\)\>"
|
||||
syn match cssFontProp contained "\<text-anchor\>"
|
||||
syn match cssFontProp contained "\<vector-effect\>"
|
||||
|
||||
syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality painted stroke viewport visibleFill visiblePainted visibleStroke
|
||||
syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport
|
||||
syn match cssFontAttr contained "\<context-\(fill\|stroke\)\>"
|
||||
syn match cssFontAttr contained "\<fixed-position\>"
|
||||
syn match cssFontAttr contained "\<miter\(-clip\)\=\>"
|
||||
syn match cssFontAttr contained "\<non-\(scaling-stroke\|scaling-size\|rotation\)\>"
|
||||
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend
|
||||
|
||||
0
after/syntax/css/syntax-3.vim
Normal file
0
after/syntax/css/syntax-3.vim
Normal file
0
after/syntax/css/tables-3.vim
Normal file
0
after/syntax/css/tables-3.vim
Normal file
@@ -7,3 +7,5 @@ syn keyword cssTextAttr contained manual loose strict hanging anywhere
|
||||
syn match cssTextAttr contained "\<match-parent\>"
|
||||
syn match cssTextAttr contained "\<each-line\>"
|
||||
syn match cssTextAttr contained "\<full-width\>"
|
||||
syn match cssTextAttr contained "\<justify-all\>"
|
||||
syn match cssTextAttr contained "\<break-spaces\>"
|
||||
@@ -1,14 +1,16 @@
|
||||
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\)\>"
|
||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||
syn match cssTextProp contained "\<line-padding\>"
|
||||
syn keyword cssTextAttr contained spread punctuation
|
||||
syn match cssTextAttr contained "\<preserve-\(auto\|trim\|breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<trim-inner\>"
|
||||
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
||||
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
||||
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
||||
syn match cssTextAttr contained "\<no-limit\>"
|
||||
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||
syn match cssTextAttr contained "\<space-first\>"
|
||||
syn match cssTextAttr contained "\<no-compress\>"
|
||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||
1
after/syntax/css/transforms-1.vim
Normal file
1
after/syntax/css/transforms-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<transform-box\>"
|
||||
0
after/syntax/css/transitions-1.vim
Normal file
0
after/syntax/css/transitions-1.vim
Normal file
0
after/syntax/css/typed-om-1.vim
Normal file
0
after/syntax/css/typed-om-1.vim
Normal file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user