mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 11:14:25 +08:00
5 lines
471 B
VimL
5 lines
471 B
VimL
syn region cssMediaType start='(' end=')' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape nextgroup=cssMediaComma,cssMediaAnd,cssMediaBlock skipwhite skipnl
|
|
" ToDo: Works almost good (for me), but this could be dangerous
|
|
syn region cssMediaBlock transparent matchgroup=cssBraces start='{' end='}' contains=ALL
|
|
syn match cssMediaAnd "and" nextgroup=cssMediaType skipwhite skipnl
|