mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-10 12:31:49 +08:00
add css3-conditional.vim and test case
This commit is contained in:
4
after/syntax/css/css3-conditional.vim
Normal file
4
after/syntax/css/css3-conditional.vim
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
" TODO: create cssSupports group and cssSupportsType group
|
||||||
|
syn match cssMedia "@supports\>" nextgroup=cssMediaType skipwhite skipnl
|
||||||
|
syn match cssMediaAnd "or" nextgroup=cssMediaType skipwhite skipnl
|
||||||
|
syn match cssMediaAnd "not" nextgroup=cssMediaType skipwhite skipnl
|
||||||
@@ -353,6 +353,12 @@
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports (display: auto) or
|
||||||
|
(display: auto) not
|
||||||
|
(display: auto) {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
hanging-punctuation: loose;
|
hanging-punctuation: loose;
|
||||||
line-break: strict;
|
line-break: strict;
|
||||||
|
|||||||
Reference in New Issue
Block a user