Compare commits

..

88 Commits

Author SHA1 Message Date
Kyo Nagashima
213ac91578 1.8.1 2021-01-05 13:05:16 +09:00
Kyo Nagashima
bbfd67f785 Update contain-1.vim
https://www.w3.org/TR/2020/REC-css-contain-1-20201222/
2021-01-05 10:00:28 +09:00
Kyo Nagashima
0e25532d8a Update cascade-3.vim
https://www.w3.org/TR/2020/PR-css-cascade-3-20201222/
2021-01-05 09:59:25 +09:00
Kyo Nagashima
e74a5c6940 Update text-3.vim
https://www.w3.org/TR/2020/CR-css-text-3-20201222/
2021-01-05 09:56:49 +09:00
Kyo Nagashima
47f59169c0 Update box-3.vim
https://www.w3.org/TR/2020/CR-css-box-3-20201222/
2021-01-05 09:55:53 +09:00
Kyo Nagashima
cdbc9512db Update backgrounds-3.vim
https://www.w3.org/TR/2020/CR-css-backgrounds-3-20201222/
2021-01-05 09:54:53 +09:00
Kyo Nagashima
cb426f77cf Update pseudo-4.vim
https://www.w3.org/TR/2020/WD-css-pseudo-4-20201231/
2021-01-05 09:53:38 +09:00
Kyo Nagashima
4cabff16d6 Update display-3.vim
https://www.w3.org/TR/2020/CRD-css-display-3-20201218/
2020-12-19 18:41:13 +09:00
Kyo Nagashima
18d867b3b1 Update grid-1.vim
https://www.w3.org/TR/2020/CRD-css-grid-1-20201218/
2020-12-19 18:40:03 +09:00
Kyo Nagashima
0b4b3219e1 Update grid-2.vim
https://www.w3.org/TR/2020/CRD-css-grid-2-20201218/
2020-12-19 18:39:15 +09:00
Kyo Nagashima
be159483e9 Update sizing-3.vim
https://www.w3.org/TR/2020/WD-css-sizing-3-20201218/
2020-12-19 18:37:16 +09:00
Kyo Nagashima
fcb88f2110 Update contain-2.vim
https://www.w3.org/TR/2020/WD-css-contain-2-20201216/
2020-12-17 21:23:03 +09:00
Kyo Nagashima
1baaddd039 Update images-3.vim
https://www.w3.org/TR/2020/CRD-css-images-3-20201217/
2020-12-17 21:22:04 +09:00
Kyo Nagashima
c1dc0b4c7c Update conditional-3.vim
https://www.w3.org/TR/2020/CR-css-conditional-3-20201208/
2020-12-09 19:16:31 +09:00
Kyo Nagashima
6ea52b468a Update highlight-api-1.vim
https://www.w3.org/TR/2020/WD-css-highlight-api-1-20201208/
2020-12-09 19:14:00 +09:00
Kyo Nagashima
5a004b69ad Update text-3.vim
https://www.w3.org/TR/2020/WD-css-text-3-20201119/
2020-11-21 08:41:21 +09:00
Kyo Nagashima
750667a312 Update lists-3.vim
https://www.w3.org/TR/2020/WD-css-lists-3-20201117/
2020-11-19 16:24:04 +09:00
Kyo Nagashima
ab5722664a Update fonts-4.vim
https://www.w3.org/TR/2020/WD-css-fonts-4-20201117/
2020-11-19 16:21:47 +09:00
Kyo Nagashima
7099472463 1.8.0 2020-11-14 08:30:34 +09:00
Kyo Nagashima
331f244564 Update color-4.vim
https://www.w3.org/TR/2020/WD-css-color-4-20201112/
2020-11-14 08:09:20 +09:00
Kyo Nagashima
0e7167b160 Update values-4.vim
https://www.w3.org/TR/2020/WD-css-values-4-20201111/
2020-11-13 09:09:26 +09:00
Kyo Nagashima
96ae247194 Update scroll-anchoring-1.vim
https://www.w3.org/TR/2020/WD-css-scroll-anchoring-1-20201111/
2020-11-13 08:50:42 +09:00
Kyo Nagashima
a8545763fe Update css-color-adjust-1.vim
https://www.w3.org/TR/2020/WD-css-color-adjust-1-20201109/
2020-11-13 08:48:41 +09:00
Kyo Nagashima
ac0823e31b Update box-3.vim
https://www.w3.org/TR/2020/WD-css-box-3-20201028/
2020-10-30 08:12:24 +09:00
Kyo Nagashima
5a816e9569 Update sizing-3.vim
https://www.w3.org/TR/2020/WD-css-sizing-3-20201023/
2020-10-27 08:37:57 +09:00
Kyo Nagashima
11234a106c Add highlight-api-1.vim
https://www.w3.org/TR/2020/WD-css-highlight-api-1-20201022/
2020-10-24 08:44:25 +09:00
Kyo Nagashima
1043cc17af Update grid-1.vim
https://www.w3.org/TR/2020/CRD-css-grid-1-20201021/
2020-10-23 08:12:53 +09:00
Kyo Nagashima
6a5285ba3c Update grid-2.vim
https://www.w3.org/TR/2020/CRD-css-grid-2-20201021/
2020-10-23 08:10:07 +09:00
Kyo Nagashima
7ca800647c Update sizing-4.vim
https://www.w3.org/TR/2020/WD-css-sizing-4-20201020/
2020-10-22 08:17:28 +09:00
Kyo Nagashima
790e68661f Fix extra white space 2020-10-22 08:17:14 +09:00
Kyo Nagashima
b3c992b4f5 Update properties-values-api-1.vim
https://www.w3.org/TR/2020/WD-css-properties-values-api-1-20201013/
2020-10-15 08:55:43 +09:00
Kyo Nagashima
75fb895763 1.7.2 2020-09-10 07:45:17 +09:00
Kyo Nagashima
7a6a010fd8 Update worklets-1.vim
https://www.w3.org/TR/2020/WD-worklets-1-20200908/
2020-09-10 07:43:04 +09:00
Kyo Nagashima
f467f96911 Update inline-3.vim
https://www.w3.org/TR/2020/WD-css-inline-3-20200827/
2020-08-28 18:28:32 +09:00
Kyo Nagashima
f0d6e95e7e Update grid-2.vim
https://www.w3.org/TR/2020/CR-css-grid-2-20200818/
2020-08-20 08:32:05 +09:00
Kyo Nagashima
0d27605a19 Update grid-1.vim
https://www.w3.org/TR/2020/CR-css-grid-1-20200818/
2020-08-20 08:30:58 +09:00
Kyo Nagashima
f13a51f51d Update cascade-4.vim
https://www.w3.org/TR/2020/WD-css-cascade-4-20200818/
2020-08-20 08:24:43 +09:00
Kyo Nagashima
a5cacf8839 Update cascade-3.vim
https://www.w3.org/TR/2020/CR-css-cascade-3-20200817/
2020-08-19 08:14:47 +09:00
Kyo Nagashima
d0e4091e57 Update README 2020-08-08 18:24:46 +09:00
Kyo Nagashima
a1b7e3e0f4 Update lists-3.vim
https://www.w3.org/TR/2020/WD-css-lists-3-20200709/
2020-07-10 14:47:56 +09:00
Kyo Nagashima
d9ec9eeeec Create FUNDING.yml 2020-06-26 13:33:10 +09:00
Kyo Nagashima
84b98663ec Update inline-3.vim
https://www.w3.org/TR/2020/WD-css-inline-3-20200618/
2020-06-19 18:33:09 +09:00
Kyo Nagashima
3018a7e3ae Update overflow-3.vim
https://www.w3.org/TR/2020/WD-css-overflow-3-20200603/
2020-06-05 08:30:46 +09:00
Kyo Nagashima
5deaa67782 Update inline-3.vim
https://www.w3.org/TR/2020/WD-css-inline-3-20200604/
2020-06-05 08:26:59 +09:00
Kyo Nagashima
c39cc87a12 Update contain-2.vim
https://www.w3.org/TR/2020/WD-css-contain-2-20200603/
2020-06-05 08:14:45 +09:00
Kyo Nagashima
7ccfd713c1 Update Vim version 2020-05-30 23:12:58 +09:00
Kyo Nagashima
283c8447cd Sort test 2020-05-30 17:17:19 +09:00
Kyo Nagashima
11c2d059f0 1.7.1 2020-05-28 09:52:47 +09:00
Kyo Nagashima
4c478d0373 Fix test 2020-05-28 09:52:31 +09:00
Kyo Nagashima
e5e2662f56 Add sizing-4.vim
https://www.w3.org/TR/2020/WD-css-sizing-4-20200526/
2020-05-28 09:47:33 +09:00
Kyo Nagashima
4f0f6717cf Update position-3.vim
https://www.w3.org/TR/2020/WD-css-position-3-20200519/
2020-05-28 09:39:46 +09:00
Kyo Nagashima
5e9d081260 Update display-3.vim
https://www.w3.org/TR/2020/CR-css-display-3-20200519/
2020-05-28 09:29:47 +09:00
Kyo Nagashima
77a3fb8386 Update display-3.vim
https://www.w3.org/TR/2020/CR-css-display-3-20200519/
2020-05-19 18:22:47 +09:00
Kyo Nagashima
2c75d94fc8 Update text-decor-4.vim
https://www.w3.org/TR/2020/WD-css-text-decor-4-20200506/
2020-05-09 09:25:41 +09:00
Kyo Nagashima
a916d1e5d2 Remove FUNDING.yml 2020-05-08 17:05:08 +09:00
Kyo Nagashima
6e2f05fb29 Update ruby-1.vim
https://www.w3.org/TR/2020/WD-css-ruby-1-20200429/
2020-04-30 18:59:32 +09:00
Kyo Nagashima
6a677287df Update text-3.vim
https://www.w3.org/TR/2020/WD-css-text-3-20200429/
2020-04-30 18:54:41 +09:00
Kyo Nagashima
2714472120 Add box-4.vim
https://www.w3.org/TR/2020/WD-css-box-4-20200421/
2020-04-24 09:15:21 +09:00
Kyo Nagashima
ab4ce39f68 Update box-3.vim
https://www.w3.org/TR/2020/WD-css-box-3-20200421/

This WD removes all new properties and values.
2020-04-24 09:14:15 +09:00
Kyo Nagashima
de8b85301d Update align-3.vim
https://www.w3.org/TR/2020/WD-css-align-3-20200421/
2020-04-24 09:08:10 +09:00
Kyo Nagashima
0c33e55d36 Update color-adjust-1.vim
https://www.w3.org/TR/2020/WD-css-color-adjust-1-20200402/

This commit also fixes filename.
2020-04-03 18:44:53 +09:00
Kyo Nagashima
2a59a029d1 Fix test
`only` is always used with `only light`.
2020-04-01 16:00:18 +09:00
Kyo Nagashima
036ac88f82 Add unofficials.vim
This temporary syntax file is for an unofficial specs.
2020-04-01 09:46:02 +09:00
Kyo Nagashima
7e863a82ba Add missing pixelated value to images-3.vim 2020-04-01 09:42:36 +09:00
Kyo Nagashima
5f1c2f4cfe 1.6.0 2020-03-31 09:21:45 +09:00
Kyo Nagashima
24df990311 Create FUNDING.yml 2020-03-29 19:49:30 +09:00
Kyo Nagashima
2017ababce Add scrollbars-1.vim
https://www.w3.org/TR/2018/WD-css-scrollbars-1-20180925/
2020-03-29 15:33:56 +09:00
Kyo Nagashima
9caf119a57 Add conditional-4.vim
https://www.w3.org/TR/2020/WD-css-conditional-4-20200303/
2020-03-20 09:33:15 +09:00
Kyo Nagashima
c61637cc7a Add transforms-2.vim
https://www.w3.org/TR/2020/WD-css-transforms-2-20200303/
2020-03-20 09:18:02 +09:00
Kyo Nagashima
d852533256 Update speech-1.vim
https://www.w3.org/TR/2020/CR-css-speech-1-20200310/
2020-03-10 20:46:46 +09:00
Kyo Nagashima
6f5b17688c Revert "Remove css3-speech.vim"
This reverts commit 912de28994.
2020-03-10 20:44:10 +09:00
Kyo Nagashima
d65cd9c88e Update color-5.vim
`a()` and `b()` are needed for LAB color.
2020-03-04 19:18:40 +09:00
Kyo Nagashima
107e3bd060 Add color-5.vim
https://www.w3.org/TR/2020/WD-css-color-5-20200303/
2020-03-04 18:59:04 +09:00
Kyo Nagashima
c975bde063 1.5.0 2020-02-13 13:10:20 +09:00
Kyo Nagashima
69b55bf234 Merge pull request #67 from hail2u/vim-8.1.1951
Follow changes in the default runtime files
2020-02-13 12:41:16 +09:00
Kyo Nagashima
241f57e057 Follow changes in the default runtime files
These removed syntaxes are included in [runtime files update][1].

[1]: 06fe74aef7 (diff-613ff34c5d60e41a3fc93fcb58277143)
2020-02-13 12:40:35 +09:00
Kyo Nagashima
14f6b95d25 Add resize-observer-1.vim
https://www.w3.org/TR/2020/WD-resize-observer-1-20200211/
2020-02-12 18:36:50 +09:00
Kyo Nagashima
f483738520 Add scroll-anchoring-1.vim
https://www.w3.org/TR/2020/WD-css-scroll-anchoring-1-20200211/
2020-02-12 18:34:55 +09:00
Kyo Nagashima
6253d1b746 Update ui-4.vim
https://www.w3.org/TR/2020/WD-css-ui-4-20200124/
2020-01-26 15:07:01 +09:00
Kyo Nagashima
75322b91a1 Update ui-4.vim
https://www.w3.org/TR/2020/WD-css-ui-4-20200102/
2020-01-03 07:34:16 +09:00
Kyo Nagashima
496f27aaf3 Update writing-modes-3.vim
https://www.w3.org/TR/2019/REC-css-writing-modes-3-20191210/
2019-12-11 08:16:05 +09:00
Kyo Nagashima
dcd7e3dca8 Update grid-2.vim
https://www.w3.org/TR/2019/WD-css-grid-2-20191203/
2019-12-05 08:19:04 +09:00
Kyo Nagashima
8aee9a339d Update nav-1.vim
https://www.w3.org/TR/2019/WD-css-nav-1-20191126/
2019-11-27 18:30:52 +09:00
Kyo Nagashima
c1f03abe28 Update fonts-4.vim
https://www.w3.org/TR/2019/WD-css-fonts-4-20191113/
2019-11-23 08:06:07 +09:00
Kyo Nagashima
81364390d3 Update text-4.vim
https://www.w3.org/TR/2019/WD-css-text-4-20191113/
2019-11-23 07:58:25 +09:00
Kyo Nagashima
70cb73d4d8 Update text-3.vim
https://www.w3.org/TR/2019/WD-css-text-3-20191113/#changes
2019-11-23 07:56:08 +09:00
Kyo Nagashima
cf953ffa27 Update contain-1.vim
https://www.w3.org/TR/2019/REC-css-contain-1-20191121/
2019-11-23 07:54:52 +09:00
Kyo Nagashima
1e61ba9b5d Update color-4.vim
https://www.w3.org/TR/2019/WD-css-color-4-20191105/
2019-11-07 08:35:26 +09:00
36 changed files with 891 additions and 786 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: [hail2u]

View File

@@ -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.1 or higher with
I **strongly** recommend to install this plugin on *Vim 8.2 or higher with
default runtime files*.
@@ -83,13 +83,13 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+.
AUTHOR
------
Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
Kyo Nagashima <hail2u@gmail.com> (https://hail2u.net/)
LICENSE
-------
MIT License
MIT
[1]: http://www.vim.org/

View File

@@ -1,9 +0,0 @@
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\>"

View File

@@ -0,0 +1,2 @@
syn match cssBoxProp contained "\<margin-trim\>"
syn match cssBoxAttr contained "\<in-flow\>"

View File

@@ -1,2 +0,0 @@
syn keyword cssFontProp all
syn keyword cssCommonAttr contained initial unset

View File

@@ -1,2 +1,4 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
syn keyword cssFontAttr contained perceptual
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -0,0 +1 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness\|blackness\|a\|b\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline

View File

@@ -1,3 +1,3 @@
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
syn match cssColorProp contained "\<color-scheme\>"
syn keyword cssFontAttr contained only economy exact
syn keyword cssFontAttr contained economy exact

View File

View File

@@ -0,0 +1 @@
syn match cssFontProp contained "\<content-visibility\>"

View File

@@ -1,3 +1,2 @@
syn keyword cssFontAttr contained contents discard
syn match cssFontAttr contained "\<flow\(-root\)\=\>"
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"

View File

@@ -1,15 +1,19 @@
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>"
syn match cssFontProp contained "\<font-named-instance\>"
syn match cssFontProp contained "\<font-display\>"
syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>"
syn match cssFontProp contained "\<font-optical-sizing\>"
syn match cssFontProp contained "\<font-variation-settings\>"
syn match cssFontProp contained "\<font-palette\>"
syn match cssFontProp contained "\<font-variant-emoji\>"
syn match cssFontProp contained "\<font-presentation\>"
syn match cssFontProp contained "\<base-palette\>"
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 keyword cssFontAttr contained emoji math fangsong swap fallback light dark
syn match cssFontAttr contained "\<system-ui\>"
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
syn match cssFontAttr contained "\<xxx-large\>"
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-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -1,5 +1,3 @@
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

View File

@@ -1 +0,0 @@
syn match cssValueNumber contained "\d\(.\d\+\)\=ar"

View File

@@ -0,0 +1 @@
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<highlight(" end=")" contains=cssStringQ,cssStringQQ

View File

@@ -1,6 +1,6 @@
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
syn match cssFontProp contained "\<image-orientation\>"
syn keyword cssFontAttr contained snap flip
syn keyword cssFontAttr contained snap flip pixelated
syn match cssFontAttr contained "\<scale-down\>"
syn match cssFontAttr contained "\<from-image\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend

View File

@@ -1,5 +1,8 @@
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
syn match cssFontProp contained "\<baseline-shift\>"
syn match cssFontProp contained "\<baseline-\(shift\|source\)\>"
syn match cssFontProp contained "\<text-edge\>"
syn match cssFontProp contained "\<leading-trim\>"
syn match cssFontProp contained "\<inline-sizing\>"
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
syn keyword cssFontAttr contained mathematical ideographic
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\=\>"
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise
syn match cssFontAttr contained "\<ideographic\(-ink\)\=\>"

View File

@@ -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 "\<\(margin\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
syn keyword cssFontAttr contained logical physical rotate

View File

@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>"
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
syn keyword cssFontAttr contained focus

View File

@@ -1,5 +1,5 @@
syn keyword cssFontProp contained continue
syn match cssFontProp contained "\<block-overflow\>"
syn match cssFontProp contained "\<overflow-\(clip-margin\|block\|inline\)\>"
syn match cssFontProp contained "\<block-ellipsis\>"
syn match cssFontProp contained "\<line-clamp\>"
syn match cssFontProp contained "\<max-lines\>"
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"

View File

@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<offset-\(before\|end\|after\|start\)\>"
syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
syn keyword cssFontAttr contained sticky

View File

@@ -1,2 +1,3 @@
syn match cssPseudoClassId contained "\<inactive-selection\>"
syn match cssPseudoClassId contained "\<target-text\>"
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
syn match cssPseudoClassId contained "\<file-selectors-button\>"

View File

View File

@@ -1,4 +1,3 @@
" TODO: create cssRubyProp group and cssRubyAttr group
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\)"
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
syn match cssFontAttr contained "\<inter-character\>"

View File

@@ -0,0 +1 @@
syn match cssFontProp contained "\<overflow-anchor\>"

View File

@@ -0,0 +1 @@
syn match cssFontProp contained "\<scrollbar-\(color\|width\)\>"

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<contain-intrinsic-size\>"
syn match cssFontAttr contained "\<\fit-content\>"

View File

@@ -0,0 +1,6 @@
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\)"

View File

@@ -1,9 +1,6 @@
syn keyword cssTextProp contained hyphens
syn match cssTextProp contained "\<line-break\>"
syn match cssTextProp contained "\<overflow-wrap\>"
syn match cssTextProp contained "\<tab-size\>"
syn match cssTextProp contained "\<text-align-all\>"
syn keyword cssTextAttr contained manual loose strict hanging anywhere
syn keyword cssTextAttr contained loose strict hanging anywhere
syn match cssTextAttr contained "\<match-parent\>"
syn match cssTextAttr contained "\<each-line\>"
syn match cssTextAttr contained "\<full-width\>"

View File

@@ -1,4 +1,6 @@
syn match cssTextProp contained "\<text-\(decoration-\(width\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
syn match cssTextProp contained "\<text-\(decoration-\(thickness\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
syn keyword cssTextAttr contained objects edges symbols narrow
syn match cssTextAttr contained "\<box-decoration\>"
syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>"
syn match cssTextAttr contained "\<from-font\>"
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"
syn match cssTextAttr contained "\<box-decoration\>"

View File

@@ -0,0 +1,2 @@
syn keyword cssFontProp contained rotate scale translate
syn keyword cssFontAttr contained flat

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<backdrop-filter\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline keepend

View File

@@ -1,3 +1,2 @@
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|vw\|vh\|vmin\|vmax\|q\)"
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|q\)"
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
syn region cssFunction contained matchgroup=cssFunctionName start="\<calc\s*(" end=")" oneline keepend

View File

@@ -1,2 +1,2 @@
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\)\s*(" end=")" oneline keepend
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend

View File

@@ -1,2 +0,0 @@
syn match cssFontProp contained "\<--[A-Za-z_][A-Za-z0-9_-]\+\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<var\s*(" end=")" oneline keepend

File diff suppressed because it is too large Load Diff