mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03c1c9001d | ||
|
|
feea4b6c25 | ||
|
|
53eef9c64c | ||
|
|
ef50fcbe7e | ||
|
|
be717f2c70 | ||
|
|
47b3ce2e5a | ||
|
|
cf22db698e | ||
|
|
6ed54d346b | ||
|
|
b2d66799b7 | ||
|
|
da0119205e | ||
|
|
4e71c04913 | ||
|
|
8c6b5eaf1f | ||
|
|
afcbfc85a8 | ||
|
|
3e40dde46c | ||
|
|
087d9db240 | ||
|
|
36900064ff | ||
|
|
98cfdbf087 | ||
|
|
de5a0e2dc2 | ||
|
|
af01de4490 | ||
|
|
f18eabedc0 | ||
|
|
51c5ee1f88 | ||
|
|
77e3358574 | ||
|
|
0aa17c3079 | ||
|
|
928b94ea6c |
@@ -0,0 +1 @@
|
||||
syn keyword cssFontAttr contained recto verso
|
||||
|
||||
0
after/syntax/css/easing-1.vim
Normal file
0
after/syntax/css/easing-1.vim
Normal file
@@ -5,9 +5,11 @@ syn match cssFontProp contained "\<font-variation-settings\>"
|
||||
syn match cssFontProp contained "\<font-palette\>"
|
||||
syn match cssFontProp contained "\<font-presentation\>"
|
||||
syn match cssFontProp contained "\<base-palette\>"
|
||||
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 "\<historical-forms\>"
|
||||
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
|
||||
|
||||
@@ -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 "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<\(background\|border\)-image-transform\>"
|
||||
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
||||
syn keyword cssFontAttr contained logical physical rotate
|
||||
|
||||
@@ -1 +1 @@
|
||||
syn keyword cssFontAttr contained recto verso
|
||||
syn keyword cssFontProp contained marks bleed
|
||||
|
||||
@@ -7,4 +7,4 @@ syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||
syn match cssPseudoClassId contained "\<target-within\>"
|
||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|drop\)(" end=")" oneline
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||
|
||||
1
after/syntax/css/shadow-parts-1.vim
Normal file
1
after/syntax/css/shadow-parts-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline
|
||||
@@ -1,14 +1,16 @@
|
||||
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\)\>"
|
||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||
syn match cssTextProp contained "\<line-padding\>"
|
||||
syn keyword cssTextAttr contained spread punctuation
|
||||
syn match cssTextAttr contained "\<preserve-\(auto\|trim\|breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<trim-inner\>"
|
||||
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
||||
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
||||
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
||||
syn match cssTextAttr contained "\<no-limit\>"
|
||||
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||
syn match cssTextAttr contained "\<space-first\>"
|
||||
syn match cssTextAttr contained "\<no-compress\>"
|
||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||
|
||||
@@ -59,7 +59,8 @@
|
||||
}
|
||||
|
||||
.break-3 {
|
||||
display: auto;
|
||||
display: recto;
|
||||
display: verso;
|
||||
}
|
||||
|
||||
.cascade-3 {
|
||||
@@ -228,6 +229,10 @@
|
||||
display: ruby-text-group;
|
||||
}
|
||||
|
||||
.easing-1 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.exclusions-3 {
|
||||
wrap-flow: auto;
|
||||
wrap-through: auto;
|
||||
@@ -361,6 +366,7 @@
|
||||
|
||||
@font-palette-values Test {
|
||||
base-palette: 1;
|
||||
override-color: 1 rgb(43, 12, 9);
|
||||
}
|
||||
|
||||
.gcpm-3::footnote-call,
|
||||
@@ -504,8 +510,10 @@ template {
|
||||
border-inline-end: auto;
|
||||
border-block: auto;
|
||||
border-inline: auto;
|
||||
background-image-transform: auto;
|
||||
border-image-transform: auto;
|
||||
border-start-start-radius: auto;
|
||||
border-start-end-radius: auto;
|
||||
border-end-start-radius: auto;
|
||||
border-end-end-radius: auto;
|
||||
display: logical;
|
||||
display: physical;
|
||||
display: rotate;
|
||||
@@ -583,8 +591,8 @@ mask {
|
||||
}
|
||||
|
||||
.page-3 {
|
||||
display: recto;
|
||||
display: verso;
|
||||
marks: auto;
|
||||
bleed: auto;
|
||||
}
|
||||
|
||||
.page-floats-3 {
|
||||
@@ -750,7 +758,7 @@ mask {
|
||||
.selectors-4:in-range,
|
||||
.selectors-4:out-of-range,
|
||||
.selectors-4:user-invalid,
|
||||
.selectors-4:matches(:hover, :focus),
|
||||
.selectors-4:is(:hover, :focus),
|
||||
.selectors-4:dir(ltr),
|
||||
.selectors-4:local-link(0),
|
||||
.selectors-4:current(p, li, dt, dd),
|
||||
@@ -762,7 +770,7 @@ mask {
|
||||
.selectors-4:playing,
|
||||
.selectors-4:paused,
|
||||
.selectors-4:has(> img),
|
||||
.selectors-4:drop(active) {
|
||||
.selectors-4:where(:not(:hover)) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -770,6 +778,10 @@ mask {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.shadow-parts::part(textspan) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.shapes-1 {
|
||||
shape-outside: auto;
|
||||
shape-image-threshold: auto;
|
||||
@@ -931,9 +943,9 @@ view {
|
||||
hyphenate-limit-chars: auto;
|
||||
hyphenate-limit-lines: auto;
|
||||
hyphenate-limit-last: auto;
|
||||
text-group-align: auto;
|
||||
line-padding: auto;
|
||||
text-spacing: auto;
|
||||
display: preserve-auto;
|
||||
display: preserve-trim;
|
||||
display: preserve-breaks;
|
||||
display: preserve-spaces;
|
||||
display: trim-inner;
|
||||
@@ -946,6 +958,7 @@ view {
|
||||
display: spread;
|
||||
display: trim-start;
|
||||
display: space-start;
|
||||
display: space-first;
|
||||
display: trim-end;
|
||||
display: space-end;
|
||||
display: trim-adjacent;
|
||||
|
||||
Reference in New Issue
Block a user