37
37
### Highlighting problems on: ` vertical-align ` , ` box-shadow ` , and others
38
38
39
39
Some properties do not highlight correctly by default. This is a limitation of
40
- Vim’s highlight priority mechanism. To fix this problems, put following lines in
41
- your ` ~/.vim/after/css.vim ` :
40
+ Vim’s highlight priority mechanism. To fix this problems, put following lines
41
+ in your ` ~/.vim/after/css.vim ` :
42
42
43
43
setlocal iskeyword+=-
44
44
@@ -62,9 +62,9 @@ such as `-webkit-` or `-moz-`, etc. These are hard to maintain because they are:
62
62
* Changed unexpectedly
63
63
* Removed silently
64
64
65
- These must be supported by separate syntax plugins (Vim 7.4’s default CSS syntax
66
- file supports this). If you want to highlight prefixed properties or functions
67
- manually, ` :highlight ` and ` :match ` would help:
65
+ These must be supported by separate syntax plugins (Vim 7.4’s default CSS
66
+ syntax file supports this). If you want to highlight prefixed properties or
67
+ functions manually, ` :highlight ` and ` :match ` would help:
68
68
69
69
:highlight VendorPrefix guifg=#00ffff gui=bold
70
70
:match VendorPrefix /-\(moz\|webkit\|o\|ms\)-[a-zA-Z-]\+/
@@ -73,19 +73,12 @@ These commands highlight vendor prefixed properties and functions instantly with
73
73
cyan and bold (on gVim).
74
74
75
75
76
- ### CSS Preprocessors: [ Sass] [ 2 ] , [ LESS] [ 3 ] , and [ Stylus] [ 4 ]
77
-
78
- ` vim-css3-syntax ` supports Sass’s SCSS syntax only. If you want to use this
79
- plugin with LESS, install [ VIM-LESS] [ 5 ] . Sass’s indent syntax and Stylus are not
80
- supported.
81
-
82
-
83
76
### Media Queries
84
77
85
78
I drop Media Queries Level 3 support in v0.12.0. There is no easy way to support
86
79
Media Queries properly with ` after ` syntax plugin like this one, sorry. If you
87
80
want to highlight Media Queries correctly, you must update Vim to 7.4+ or
88
- install [ JulesWang/css.vim] [ 6 ] .
81
+ install [ JulesWang/css.vim] [ 2 ] .
89
82
90
83
91
84
AUTHOR
@@ -101,8 +94,4 @@ MIT: http://hail2u.mit-license.org/2011
101
94
102
95
103
96
[ 1 ] : http://www.vim.org/
104
- [ 2 ] : http://sass-lang.com/
105
- [ 3 ] : http://lesscss.org/
106
- [ 4 ] : http://learnboost.github.io/stylus/
107
- [ 5 ] : https://github.com/groenewege/vim-less
108
- [ 6 ] : https://github.com/JulesWang/css.vim
97
+ [ 2 ] : https://github.com/JulesWang/css.vim
0 commit comments