Compare commits

...

39 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
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
28 changed files with 818 additions and 769 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

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

View File

@@ -1,2 +1,4 @@
syn keyword cssFontAttr contained perceptual
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
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

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,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,4 +1,3 @@
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
syn match cssFontProp contained "\<font-display\>"
syn match cssFontProp contained "\<font-optical-sizing\>"
syn match cssFontProp contained "\<font-variation-settings\>"
@@ -9,7 +8,9 @@ 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 match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
syn match cssFontAttr contained "\<historical-forms\>"
syn match cssFontAttr contained "\<xxx-large\>"
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

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

@@ -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 "\<spatial-navigation-\(action\|contain\)\>"
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
syn keyword cssFontAttr contained focus

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

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