mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 10:44:23 +08:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
158c39b3ee | ||
|
|
5c104fcfee | ||
|
|
bbf675f5fd | ||
|
|
87283273b0 | ||
|
|
329a8f8bdf | ||
|
|
529d0f5c5a | ||
|
|
77022dc970 | ||
|
|
0318de664c | ||
|
|
090a873101 | ||
|
|
9a24ae3c6f | ||
|
|
cb69880032 | ||
|
|
0e04cfbb09 | ||
|
|
3c4f1d2057 | ||
|
|
a60106e39b | ||
|
|
ba1986d07d | ||
|
|
671f8ea579 |
@@ -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\>"
|
||||
|
||||
@@ -869,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;
|
||||
}
|
||||
|
||||
@@ -1074,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;
|
||||
@@ -1095,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