mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
15 Commits
089f388a9e
...
v2.8.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84924b8934 | ||
|
|
24934b32da | ||
|
|
661a91f249 | ||
|
|
50adac88c4 | ||
|
|
1fc1ff5799 | ||
|
|
adbc12f2ee | ||
|
|
2a04f2d27c | ||
|
|
b0bc65e6f8 | ||
|
|
a6133ac2ff | ||
|
|
cc35f339d8 | ||
|
|
4f8d08e82b | ||
|
|
8d496ec664 | ||
|
|
349772545f | ||
|
|
000f04273c | ||
|
|
b7778bc209 |
3
after/syntax/css/color-hdr-1.vim
Normal file
3
after/syntax/css/color-hdr-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontProp contained dynamic-range-limit
|
||||
syn keyword cssFontAttr contained standard constrained-high
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<dynamic-range-limit-mix\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/display-4.vim
Normal file
2
after/syntax/css/display-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained reading-flow
|
||||
syn keyword cssFontAttr contained flex-visual flex-flow grid-rows grid-columns
|
||||
5
after/syntax/css/forms-1.vim
Normal file
5
after/syntax/css/forms-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn keyword cssFontProp contained slider-orientation
|
||||
syn keyword cssFontAttr contained base left-to-right right-to-left top-to-bottom bottom-to-top
|
||||
syn keyword cssPseudoClassId contained picker-icon file-selector-button checkmark thumb track fill field-text clear-icon placeholder step-control step-up step-down field-component field-separator color-swatch low-value high-value optimal-value
|
||||
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<picker(" end=")" contains=cssStringQ,cssStringQQ
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<control-value\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/gaps-1.vim
Normal file
2
after/syntax/css/gaps-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained column-rule-break row-rule-break rule-break column-rule-outset row-rule-outset rule-outset rule-paint-order row-rule-color row-rule-style row-rule-width row-rule rule-color rule-style rule-width rule
|
||||
syn keyword cssFontAttr contained spanning-item intersection row-over-column column-over-row
|
||||
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack
|
||||
syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack item-track item-direction item-wrap item-cross item-pack item-slack item-flow
|
||||
syn keyword cssFontAttr contained masonry inline-masonry
|
||||
|
||||
2
after/syntax/css/mixins-1.vim
Normal file
2
after/syntax/css/mixins-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained result
|
||||
syn match cssFontDescriptor "@function\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
1
after/syntax/css/multicol-2.vim
Normal file
1
after/syntax/css/multicol-2.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssPseudoClassId contained column
|
||||
2
after/syntax/css/overflow-5.vim
Normal file
2
after/syntax/css/overflow-5.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained scroll-marker-group
|
||||
syn keyword cssPseudoClassId contained scroll-marker-group scroll-marker target-current
|
||||
@@ -1 +1 @@
|
||||
syn keyword cssPseudoClassId contained prefix postfix target-text spelling-error grammer-error file-selectors-button
|
||||
syn keyword cssPseudoClassId contained prefix suffix target-text spelling-error grammer-error file-selectors-button search-text details-content
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
syn keyword cssFontProp contained shape-outside shape-image-threshold shape-margin
|
||||
syn keyword cssFontAttr contained margin-box
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\|shape\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
syn keyword cssFontProp contained interpolate-size
|
||||
syn keyword cssFontAttr contained numeric-only allow-keyword
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|if\|inherit\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -176,6 +176,13 @@
|
||||
display: exact;
|
||||
}
|
||||
|
||||
.color-hdr-1 {
|
||||
dynamic-range-limit: auto;
|
||||
display: standard;
|
||||
display: constrained-high;
|
||||
display: dynamic-range-limit-mix(standard 10%, constrained-high 40%, high 50%);
|
||||
}
|
||||
|
||||
.compositing-1 {
|
||||
mix-blend-mode: auto;
|
||||
isolation: auto;
|
||||
@@ -332,6 +339,14 @@
|
||||
display: run-in;
|
||||
}
|
||||
|
||||
.display-4 {
|
||||
reading-flow: auto;
|
||||
display: flex-visual;
|
||||
display: flex-flow;
|
||||
display: grid-rows;
|
||||
display: grid-columns;
|
||||
}
|
||||
|
||||
.easing-1 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -482,6 +497,57 @@
|
||||
override-color: 1 rgb(43, 12, 9);
|
||||
}
|
||||
|
||||
.forms-1::picker(select),
|
||||
.forms-1::picker-icon,
|
||||
.forms-1::file-selector-button,
|
||||
.forms-1::checkmark,
|
||||
.forms-1::thumb,
|
||||
.forms-1::track,
|
||||
.forms-1::fill
|
||||
.forms-1::field-text,
|
||||
.forms-1::clear-icon,
|
||||
.forms-1::placeholder,
|
||||
.forms-1::field-text,
|
||||
.forms-1::step-control,
|
||||
.forms-1::step-up,
|
||||
.forms-1::step-down,
|
||||
.forms-1::field-component,
|
||||
.forms-1::field-separator,
|
||||
.forms-1::color-swatch,
|
||||
.forms-1:low-value,
|
||||
.forms-1:high-value,
|
||||
.forms-1:optimal-value {
|
||||
slider-orientation: auto;
|
||||
display: base;
|
||||
display: control-value(<number>);
|
||||
display: left-to-right;
|
||||
display: right-to-left;
|
||||
display: top-to-bottom;
|
||||
display: bottom-to-top;
|
||||
}
|
||||
|
||||
.gaps-1 {
|
||||
column-rule-break: auto;
|
||||
row-rule-break: auto;
|
||||
rule-break: auto;
|
||||
column-rule-outset: auto;
|
||||
row-rule-outset: auto;
|
||||
rule-outset: auto;
|
||||
rule-paint-order: auto;
|
||||
row-rule-color: auto;
|
||||
row-rule-style: auto;
|
||||
row-rule-width: auto;
|
||||
row-rule: auto;
|
||||
rule-color: auto;
|
||||
rule-style: auto;
|
||||
rule-width: auto;
|
||||
rule: auto;
|
||||
display: spanning-item;
|
||||
display: intersection;
|
||||
display: row-over-column;
|
||||
display: column-over-row;
|
||||
}
|
||||
|
||||
.gcpm-3::footnote-call,
|
||||
.gcpm-3::footnote-marker {
|
||||
running: auto;
|
||||
@@ -521,6 +587,13 @@
|
||||
masonry-track-end: auto;
|
||||
masonry-track: auto;
|
||||
masonry-slack: auto;
|
||||
item-track: auto;
|
||||
item-direction: auto;
|
||||
item-wrap: auto;
|
||||
item-cross: auto;
|
||||
item-pack: auto;
|
||||
item-slack: auto;
|
||||
item-flow: auto;
|
||||
display: masonry;
|
||||
display: inline-masonry;
|
||||
}
|
||||
@@ -690,6 +763,10 @@ mask {
|
||||
mask-type: auto;
|
||||
}
|
||||
|
||||
@function mixins-1() {
|
||||
result: auto;
|
||||
}
|
||||
|
||||
.motion-1 {
|
||||
offset-path: auto;
|
||||
offset-distance: auto;
|
||||
@@ -705,6 +782,10 @@ mask {
|
||||
display: balance-all;
|
||||
}
|
||||
|
||||
.multicol-2::column {
|
||||
display: auto:
|
||||
}
|
||||
|
||||
.namespace-3 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -745,6 +826,12 @@ mask {
|
||||
display: fragments;
|
||||
}
|
||||
|
||||
.overflow-5::scroll-marker-group,
|
||||
.overflow-5::scroll-marker,
|
||||
.overflow-5:target-current {
|
||||
sroll-marker-group: auto;
|
||||
}
|
||||
|
||||
.overscroll-1 {
|
||||
overscroll-behavior: auto;
|
||||
overscroll-behavior-block: auto;
|
||||
@@ -799,11 +886,13 @@ mask {
|
||||
}
|
||||
|
||||
.pseudo-4::first-letter::prefix,
|
||||
.pseudo-4::first-letter::postfix,
|
||||
.pseudo-4::first-letter::suffix,
|
||||
.pseudo-4::target-text,
|
||||
.pseudo-4::spelling-error,
|
||||
.pseudo-4::grammer-error,
|
||||
.pseudo-4::file-selectors-button {
|
||||
.pseudo-4::file-selectors-button,
|
||||
.pseudo-4::search-text,
|
||||
.pseudo-4::details-content {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -1012,10 +1101,11 @@ mask {
|
||||
display: circle(100px 50px 100px);
|
||||
display: ellipse(0 0 250px 100px);
|
||||
display: polygon(0 0, 100% 100%, 0 100%);
|
||||
display: shape(from 0% 0%, hline to 100%, line to 0% 100%, vline to 0%);
|
||||
}
|
||||
|
||||
.sizing-3 {
|
||||
display: auto;
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.sizing-4 {
|
||||
@@ -1383,6 +1473,8 @@ view {
|
||||
display: cross-fade(15%, url(foo.png), white);
|
||||
display: toggle(italic, normal);
|
||||
display: first-valid(center, none, 1px);
|
||||
display: if(media(screen): red; else: auto);
|
||||
display: inherit(--foo, auto);
|
||||
display: random(1, 10, by 1);
|
||||
display: random-item(--x, red, yellow, green);
|
||||
display: sibling-count();
|
||||
|
||||
Reference in New Issue
Block a user