Compare commits

..

42 Commits

Author SHA1 Message Date
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
21 changed files with 829 additions and 755 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

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

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

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