Compare commits

...

24 Commits

Author SHA1 Message Date
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
16 changed files with 804 additions and 747 deletions

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

@@ -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

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,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 "\<offset-\(before\|end\|after\|start\)\>"
syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
syn keyword cssFontAttr contained sticky

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 "\<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,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

File diff suppressed because it is too large Load Diff