mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +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;
|
||||
}
|
||||
|
||||
@supports (display: auto) or
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.text {
|
||||
hanging-punctuation: loose;
|
||||
line-break: strict;
|
||||
|
||||
Reference in New Issue
Block a user