mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
38 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
158c39b3ee | ||
|
|
5c104fcfee | ||
|
|
bbf675f5fd | ||
|
|
87283273b0 | ||
|
|
329a8f8bdf | ||
|
|
529d0f5c5a | ||
|
|
77022dc970 | ||
|
|
0318de664c | ||
|
|
090a873101 | ||
|
|
9a24ae3c6f | ||
|
|
cb69880032 | ||
|
|
0e04cfbb09 | ||
|
|
3c4f1d2057 | ||
|
|
a60106e39b | ||
|
|
ba1986d07d | ||
|
|
671f8ea579 | ||
|
|
3d98523278 | ||
|
|
b8c1fa4623 | ||
|
|
05b11eb4a0 | ||
|
|
b9921e5062 | ||
|
|
90c47814cb | ||
|
|
b3e6a86d9d | ||
|
|
9d7741a59f | ||
|
|
479dc522a7 | ||
|
|
052c7459d0 | ||
|
|
ea7a9a2325 | ||
|
|
52a53e3fe6 | ||
|
|
8c32514b04 | ||
|
|
308b231f79 | ||
|
|
3d1487297d | ||
|
|
a9eba379a1 | ||
|
|
efdac10d73 | ||
|
|
c19f58b453 | ||
|
|
9de844a6a8 | ||
|
|
13469ac58b | ||
|
|
851fad4f69 | ||
|
|
1f1f2b252a | ||
|
|
565790d45d |
0
after/syntax/css/cascade-6.vim
Normal file
0
after/syntax/css/cascade-6.vim
Normal file
1
after/syntax/css/conditional-5.vim
Normal file
1
after/syntax/css/conditional-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
0
after/syntax/css/contain-3.vim
Normal file
0
after/syntax/css/contain-3.vim
Normal file
@@ -1,5 +1,6 @@
|
||||
syn keyword cssFontProp contained continue
|
||||
syn match cssFontProp contained "\<overflow-\(clip-margin\|block\|inline\)\>"
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn match cssFontProp contained "\<block-ellipsis\>"
|
||||
syn match cssFontProp contained "\<line-clamp\>"
|
||||
syn match cssFontProp contained "\<max-lines\>"
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
|
||||
syn keyword cssFontAttr contained merge
|
||||
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
|
||||
syn match cssFontAttr contained "\<inter-character\>"
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
syn match cssSelectorOp "[|]"
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused defined modal fullscreen seeking buffering stalled muted autofill
|
||||
syn match cssPseudoClassId contained "\<\(any\|local\)-link\>"
|
||||
syn match cssPseudoClassId contained "\<read-\(only\|write\)\>"
|
||||
syn match cssPseudoClassId contained "\<placeholder-shown\>"
|
||||
syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||
syn match cssPseudoClassId contained "\<user-\(invalid\|valid\)\>"
|
||||
syn match cssPseudoClassId contained "\<target-within\>"
|
||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||
syn match cssPseudoClassId contained "\<picture-in-picture\>"
|
||||
syn match cssPseudoClassId contained "\<volume-locked\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||
|
||||
@@ -3,6 +3,7 @@ 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 match cssTextProp contained "\<word-boundary-\(detection\|expansion\)\>"
|
||||
syn keyword cssTextAttr contained spread punctuation
|
||||
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<trim-inner\>"
|
||||
@@ -14,3 +15,4 @@ 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\)\>"
|
||||
syn match cssTextAttr contained "\<ideographic-space\>"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)"
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -141,7 +141,19 @@
|
||||
}
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
display: auto;
|
||||
.conditional-4 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@when media(screen) {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
} @else {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.contain-1 {
|
||||
@@ -155,6 +167,10 @@
|
||||
content-visibility: auto;
|
||||
}
|
||||
|
||||
.contain-3 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.content-3 {
|
||||
string-set: auto;
|
||||
bookmark-level: auto;
|
||||
@@ -629,6 +645,7 @@ mask {
|
||||
overflow-clip-margin: auto;
|
||||
overflow-block: auto;
|
||||
overflow-inline: auto;
|
||||
scrollbar-gutter: auto;
|
||||
block-ellipsis: auto;
|
||||
line-clamp: auto;
|
||||
max-lines: auto;
|
||||
@@ -636,7 +653,6 @@ mask {
|
||||
}
|
||||
|
||||
.overflow-4::nth-fragment(1) {
|
||||
scrollbar-gutter: auto;
|
||||
display: stable;
|
||||
display: force;
|
||||
display: overflow;
|
||||
@@ -752,6 +768,7 @@ mask {
|
||||
ruby-overhang: auto;
|
||||
display: ruby-base-container;
|
||||
display: ruby-text-container;
|
||||
display: merge;
|
||||
display: inter-character;
|
||||
}
|
||||
|
||||
@@ -852,7 +869,18 @@ mask {
|
||||
.selectors-4:playing,
|
||||
.selectors-4:paused,
|
||||
.selectors-4:has(> img),
|
||||
.selectors-4:where(:not(:hover)) {
|
||||
.selectors-4:where(:not(:hover)),
|
||||
.selectors-4:defined,
|
||||
.selectors-4:modal,
|
||||
.selectors-4:fullscreen,
|
||||
.selectors-4:picture-in-picture,
|
||||
.selectors-4:seeking,
|
||||
.selectors-4:buffering,
|
||||
.selectors-4:stalled,
|
||||
.selectors-4:muted,
|
||||
.selectors-4:volume-locked,
|
||||
.selectors-4:autofill,
|
||||
.selectors-4:user-valid {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -1057,6 +1085,8 @@ view {
|
||||
text-group-align: auto;
|
||||
line-padding: auto;
|
||||
text-spacing: auto;
|
||||
word-boundary-detection: auto;
|
||||
word-boundary-expansion: auto;
|
||||
display: preserve-breaks;
|
||||
display: preserve-spaces;
|
||||
display: trim-inner;
|
||||
@@ -1078,6 +1108,7 @@ view {
|
||||
display: ideograph-alpha;
|
||||
display: ideograph-numeric;
|
||||
display: punctuation;
|
||||
display: ideographic-space;
|
||||
}
|
||||
|
||||
.text-decor-3 {
|
||||
|
||||
Reference in New Issue
Block a user