mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 11:14:25 +08:00
Compare commits
9 Commits
v2.7.0
...
2fb65e8ac3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fb65e8ac3 | ||
|
|
91b78456d4 | ||
|
|
00138fb097 | ||
|
|
84924b8934 | ||
|
|
24934b32da | ||
|
|
661a91f249 | ||
|
|
50adac88c4 | ||
|
|
1fc1ff5799 | ||
|
|
adbc12f2ee |
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained background-position-x background-position-y background-position-inline background-position-block corners corner-shape border-limit border-clip border-clip-top border-clip-right border-clip-bottom border-clip-left
|
||||
syn keyword cssFontAttr contained x-start x-end y-start y-end bevel scoop notch
|
||||
syn keyword cssFontProp contained background-position-x background-position-y background-position-inline background-position-block
|
||||
syn keyword cssFontAttr contained x-start x-end y-start y-end
|
||||
|
||||
3
after/syntax/css/borders-4.vim
Normal file
3
after/syntax/css/borders-4.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontProp contained border-top-radius border-right-radius border-bottom-radius border-left-radius border-block-start-radius border-block-end-radius border-inline-start-radius border-inline-end-radius corner-top-left-shape corner-top-right-shape corner-bottom-right-shape corner-bottom-left-shape corner-start-start-shape corner-start-end-shape corner-end-start-shape corner-end-end-shape corner-top-shape corner-right-shape corner-bottom-shape corner-left-shape corner-block-start-shape corner-block-end-shape corner-inline-start-shape corner-inline-end-shape corner-shape corners border-limit border-clip border-clip-top border-clip-right border-clip-bottom border-clip-left box-shadow-color box-shadow-offset box-shadow-blur box-shadow-spread box-shadow-position border-shape
|
||||
syn keyword cssFontAttr contained squircle bevel scoop notch sides corners
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<superellipse\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
|
||||
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
|
||||
2
after/syntax/css/position-4.vim
Normal file
2
after/syntax/css/position-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained overlay
|
||||
syn keyword cssPseudoClassId contained backdrop
|
||||
@@ -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,2 +1,2 @@
|
||||
syn match cssPseudoClassId contained "::\<cue\(-region\)\=\>"
|
||||
syn keyword cssPseudoClassId contained cue cue-region
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::cue\(-region\)\=(" end=")" oneline
|
||||
|
||||
@@ -84,6 +84,37 @@
|
||||
background-position-y: auto;
|
||||
background-position-inline: auto;
|
||||
background-position-block: auto;
|
||||
display: x-start;
|
||||
display: x-end;
|
||||
display: y-start;
|
||||
display: y-end;
|
||||
}
|
||||
|
||||
.borders-4 {
|
||||
border-top-radius: auto;
|
||||
border-right-radius: auto;
|
||||
border-bottom-radius: auto;
|
||||
border-left-radius: auto;
|
||||
border-block-start-radius: auto;
|
||||
border-block-end-radius: auto;
|
||||
border-inline-start-radius: auto;
|
||||
border-inline-end-radius: auto;
|
||||
corner-top-left-shape: auto;
|
||||
corner-top-right-shape: auto;
|
||||
corner-bottom-right-shape: auto;
|
||||
corner-bottom-left-shape: auto;
|
||||
corner-start-start-shape: auto;
|
||||
corner-start-end-shape: auto;
|
||||
corner-end-start-shape: auto;
|
||||
corner-end-end-shape: auto;
|
||||
corner-top-shape: auto;
|
||||
corner-right-shape: auto;
|
||||
corner-bottom-shape: auto;
|
||||
corner-left-shape: auto;
|
||||
corner-inline-start-shape: auto;
|
||||
corner-inline-end-shape: auto;
|
||||
corner-block-start-shape: auto;
|
||||
corner-block-end-shape: auto;
|
||||
corner-shape: auto;
|
||||
corners: auto;
|
||||
border-limit: auto;
|
||||
@@ -92,13 +123,19 @@
|
||||
border-clip-right: auto;
|
||||
border-clip-bottom: auto;
|
||||
border-clip-left: auto;
|
||||
display: x-start;
|
||||
display: x-end;
|
||||
display: y-start;
|
||||
display: y-end;
|
||||
box-shadow-color: auto;
|
||||
box-shadow-offset: auto;
|
||||
box-shadow-blur: auto;
|
||||
box-shadow-spread: auto;
|
||||
box-shadow-position: auto;
|
||||
border-shape: auto;
|
||||
display: squircle;
|
||||
display: bevel;
|
||||
display: scoop;
|
||||
display: notch;
|
||||
display: superellipse(1);
|
||||
display: sides;
|
||||
display: corners;
|
||||
}
|
||||
|
||||
.box-3 {
|
||||
@@ -517,13 +554,35 @@
|
||||
.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;
|
||||
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,
|
||||
@@ -741,6 +800,10 @@ mask {
|
||||
mask-type: auto;
|
||||
}
|
||||
|
||||
@function mixins-1() {
|
||||
result: auto;
|
||||
}
|
||||
|
||||
.motion-1 {
|
||||
offset-path: auto;
|
||||
offset-distance: auto;
|
||||
@@ -853,6 +916,10 @@ mask {
|
||||
inset: auto;
|
||||
}
|
||||
|
||||
.position-4::backdrop {
|
||||
overlay: auto;
|
||||
}
|
||||
|
||||
.properties-values-api-1 {
|
||||
syntax: auto;
|
||||
inherits: auto;
|
||||
@@ -860,11 +927,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;
|
||||
}
|
||||
|
||||
@@ -1073,10 +1142,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 {
|
||||
|
||||
Reference in New Issue
Block a user