Drop css3-mediaqueries support

This commit is contained in:
Kyo Nagashima
2014-06-06 02:14:03 +09:00
parent cb9f1b3f70
commit 977e77443c
5 changed files with 6 additions and 17 deletions

View File

@@ -62,6 +62,11 @@ These commands highlight vendor prefixed properties and functions instantly with
`vim-css3-syntax` supports Sass's SCSS syntax only. If you want use this plugin with LESS, install [VIM-LESS][5]. Sass's indent synatx and Stylus are not supported.
### Media Queries
I drop Media Queries Level 3 support in v0.12.0. There is no easy way to supprt Media Queries properly with `after` syntax plugin like this one, sorry. If you want to highlight Media Queries correctly, you must update Vim to 7.4+ or install [JulesWang/css.vim][6].
AUTHOR
------
@@ -79,3 +84,4 @@ MIT: http://hail2u.mit-license.org/2011
[3]: http://lesscss.org/
[4]: http://learnboost.github.io/stylus/
[5]: https://github.com/groenewege/vim-less
[6]: https://github.com/JulesWang/css.vim

View File

@@ -1,4 +0,0 @@
syn region cssMediaType contained start='(' end=')' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape nextgroup=cssMediaComma,cssMediaAnd,cssMediaBlock skipwhite skipnl
syn match cssMediaAnd "and" nextgroup=cssMediaType skipwhite skipnl
syn clear cssMediaBlock
syn region cssMediaBlock contained transparent matchgroup=cssBraces start='{' end='}' contains=cssTagName,cssSelectorOp,cssAttributeSelector,cssIdentifier,cssError,cssDefinition,cssPseudoClass,cssPseudoClassLang,cssComment,cssUnicodeEscape,cssClassName,cssURL

View File

@@ -16,7 +16,6 @@ syn include @htmlCss syntax/css/css3-images.vim
syn include @htmlCss syntax/css/css3-layout.vim
syn include @htmlCss syntax/css/css3-linebox.vim
syn include @htmlCss syntax/css/css3-marquee.vim
" syn include @htmlCss syntax/css/css3-mediaqueries.vim
syn include @htmlCss syntax/css/css3-multicol.vim
syn include @htmlCss syntax/css/css3-page.vim
syn include @htmlCss syntax/css/css3-preslev.vim

View File

@@ -306,12 +306,6 @@
mask-type: auto;
}
@media screen and (min-width: 999px) {
.mediaqueries {
display: auto;
}
}
.multicol {
columns: column;
column-count: balance;

View File

@@ -315,12 +315,6 @@
mask-type: auto;
}
@media screen and (min-width: 999px) {
.mediaqueries {
display: auto;
}
}
.multicol {
columns: column;
column-count: balance;