change contains options of cssMediaBlock to "ALL"

This commit is contained in:
Kyo Nagashima
2011-04-19 00:11:57 +09:00
parent 9f7db5537f
commit 91003039aa

View File

@@ -1,3 +1,4 @@
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
syn region cssMediaBlock transparent matchgroup=cssBraces start='{' end='}' contains=cssTagName,cssError,cssComment,cssDefinition,cssURL,cssUnicodeEscape,cssIdentifier,cssClassName
" 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