mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 19:44:45 +08:00
Support css3-conditional properly
This commit is contained in:
@@ -1 +1 @@
|
|||||||
syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=cssMediaType,cssMediaKeyword nextgroup=cssMediaBlock
|
syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ syn include @htmlCss syntax/css/css3-box.vim
|
|||||||
syn include @htmlCss syntax/css/css3-break.vim
|
syn include @htmlCss syntax/css/css3-break.vim
|
||||||
syn include @htmlCss syntax/css/css3-cascade.vim
|
syn include @htmlCss syntax/css/css3-cascade.vim
|
||||||
syn include @htmlCss syntax/css/css3-colors.vim
|
syn include @htmlCss syntax/css/css3-colors.vim
|
||||||
" syn include @htmlCss syntax/css/css3-conditional.vim
|
syn include @htmlCss syntax/css/css3-conditional.vim
|
||||||
syn include @htmlCss syntax/css/css3-content.vim
|
syn include @htmlCss syntax/css/css3-content.vim
|
||||||
syn include @htmlCss syntax/css/css3-exclusions.vim
|
syn include @htmlCss syntax/css/css3-exclusions.vim
|
||||||
syn include @htmlCss syntax/css/css3-fonts.vim
|
syn include @htmlCss syntax/css/css3-fonts.vim
|
||||||
|
|||||||
@@ -71,6 +71,14 @@
|
|||||||
display: currentColor;
|
display: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports (display: auto) or
|
||||||
|
(display: auto) not
|
||||||
|
(display: auto) {
|
||||||
|
.conditional {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.compositing {
|
.compositing {
|
||||||
mix-blend-mode: multiply;
|
mix-blend-mode: multiply;
|
||||||
isolation: screen;
|
isolation: screen;
|
||||||
@@ -453,14 +461,6 @@
|
|||||||
display: reduced;
|
display: reduced;
|
||||||
}
|
}
|
||||||
|
|
||||||
@supports (display: auto) or
|
|
||||||
(display: auto) not
|
|
||||||
(display: auto) {
|
|
||||||
.supports {
|
|
||||||
display: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
hyphens: manual;
|
hyphens: manual;
|
||||||
line-break: loose;
|
line-break: loose;
|
||||||
|
|||||||
@@ -81,6 +81,14 @@
|
|||||||
display: currentColor;
|
display: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports (display: auto) or
|
||||||
|
(display: auto) not
|
||||||
|
(display: auto) {
|
||||||
|
.conditional {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.compositing {
|
.compositing {
|
||||||
mix-blend-mode: multiply;
|
mix-blend-mode: multiply;
|
||||||
isolation: screen;
|
isolation: screen;
|
||||||
@@ -462,14 +470,6 @@
|
|||||||
display: reduced;
|
display: reduced;
|
||||||
}
|
}
|
||||||
|
|
||||||
@supports (display: auto) or
|
|
||||||
(display: auto) not
|
|
||||||
(display: auto) {
|
|
||||||
.supports {
|
|
||||||
display: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
hyphens: manual;
|
hyphens: manual;
|
||||||
line-break: loose;
|
line-break: loose;
|
||||||
|
|||||||
Reference in New Issue
Block a user