Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 7 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ NOTES
### Highlighting problems on: `vertical-align`, `box-shadow`, and others

Some properties do not highlight correctly by default. This is a limitation of
Vim’s highlight priority mechanism. To fix this problems, put following lines in
your `~/.vim/after/css.vim`:
Vim’s highlight priority mechanism. To fix this problems, put following lines
in your `~/.vim/after/css.vim`:

setlocal iskeyword+=-

Expand All @@ -62,9 +62,9 @@ such as `-webkit-` or `-moz-`, etc. These are hard to maintain because they are:
* Changed unexpectedly
* Removed silently

These must be supported by separate syntax plugins (Vim 7.4’s default CSS syntax
file supports this). If you want to highlight prefixed properties or functions
manually, `:highlight` and `:match` would help:
These must be supported by separate syntax plugins (Vim 7.4’s default CSS
syntax file supports this). If you want to highlight prefixed properties or
functions manually, `:highlight` and `:match` would help:

:highlight VendorPrefix guifg=#00ffff gui=bold
:match VendorPrefix /-\(moz\|webkit\|o\|ms\)-[a-zA-Z-]\+/
Expand All @@ -73,19 +73,12 @@ These commands highlight vendor prefixed properties and functions instantly with
cyan and bold (on gVim).


### CSS Preprocessors: [Sass][2], [LESS][3], and [Stylus][4]

`vim-css3-syntax` supports Sass’s SCSS syntax only. If you want to use this
plugin with LESS, install [VIM-LESS][5]. Sass’s indent syntax and Stylus are not
supported.


### Media Queries

I drop Media Queries Level 3 support in v0.12.0. There is no easy way to support
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].
install [JulesWang/css.vim][2].


AUTHOR
Expand All @@ -101,8 +94,4 @@ MIT: http://hail2u.mit-license.org/2011


[1]: http://www.vim.org/
[2]: http://sass-lang.com/
[3]: http://lesscss.org/
[4]: http://learnboost.github.io/stylus/
[5]: https://github.com/groenewege/vim-less
[6]: https://github.com/JulesWang/css.vim
[2]: https://github.com/JulesWang/css.vim
80 changes: 0 additions & 80 deletions after/syntax/html.vim

This file was deleted.

1 change: 0 additions & 1 deletion after/syntax/scss.vim

This file was deleted.

Loading