Compare commits

...

15 Commits

Author SHA1 Message Date
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
13 changed files with 28 additions and 36 deletions

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

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

View File

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

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

View File

@@ -72,9 +72,7 @@
}
.cascade-3 {
all: auto;
display: initial;
display: unset;
display: auto;
}
.cascade-4 {
@@ -94,6 +92,9 @@
display: gray(50%);
display: color(swopc, 0 206 190 77);
display: device-cmyk(0, 81%, 81%, 30%);
display: relative-colorimetric;
display: absolute-colorimetric;
display: perceptual;
}
@color-profile swopc {
@@ -238,8 +239,6 @@
}
.display-3 {
display: flow;
display: flow-root;
display: contents;
display: ruby;
display: ruby-base;
@@ -356,8 +355,6 @@
}
.fonts-4 {
font-min-size: auto;
font-max-size: auto;
font-display: auto;
font-optical-sizing: auto;
font-variation-settings: auto;
@@ -381,6 +378,11 @@
display: optional;
display: light;
display: dark;
display: ui-serif;
display: ui-sans-serif;
display: ui-monospace;
display: ui-rounded;
display: xxx-large;
}
@font-palette-values Test {
@@ -404,17 +406,15 @@
}
.grid-1 {
grid-template: auto;
display: minmax(0, 1);
display: repeat(4);
display: 0.2fr;
display: dense;
display: auto-flow;
display: span;
}
.grid-2 {
display: 1.618ar;
display: auto;
}
.html5,
@@ -596,6 +596,7 @@ mask {
.nav-1 {
spatial-navigation-contain: auto;
spatial-navigation-action: auto;
spatial-navigation-function: auto;
display: focus;
}
@@ -684,6 +685,10 @@ mask {
display: avoid-region;
}
.resize-observer-1 {
display: auto;
}
.rhythm-1 {
line-height-step: auto;
block-step-size: auto;
@@ -735,6 +740,10 @@ mask {
}
}
.scroll-anchoring-1 {
overflow-anchor: auto;
}
.scroll-snap-1 {
scroll-snap-type: auto;
scroll-padding: auto;
@@ -953,12 +962,8 @@ view {
}
.text-3 {
hyphens: auto;
line-break: auto;
overflow-wrap: auto;
tab-size: auto;
text-align-all: auto;
display: manual;
display: loose;
display: strict;
display: match-parent;
@@ -1076,12 +1081,8 @@ view {
.values-3 {
display: 1ch;
display: 1vw;
display: 1vh;
display: 1vmin;
display: 1q;
display: 1turn;
display: calc(100%/3 - 2*1em - 2*1px);
}
.values-4 {
@@ -1098,8 +1099,7 @@ view {
}
.variables-1 {
--var-foo: auto;
display: var(foo);
display: auto;
}
.web-animations-1 {