mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 03:24:44 +08:00
Fix @supports highlighting in HTML files
This commit is contained in:
@@ -1,4 +1 @@
|
||||
" 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
|
||||
syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=cssMediaType,cssMediaKeyword nextgroup=cssMediaBlock
|
||||
|
||||
Reference in New Issue
Block a user