Skip to content

Commit 14394d1

Browse files
authored
Merge pull request #53 from hail2u/only-css
Drop support HTML and SCSS
2 parents 7d50b90 + 1321f22 commit 14394d1

File tree

4 files changed

+7
-1191
lines changed

4 files changed

+7
-1191
lines changed

README.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ NOTES
3737
### Highlighting problems on: `vertical-align`, `box-shadow`, and others
3838

3939
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`:
4242

4343
setlocal iskeyword+=-
4444

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

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:
6868

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

7575

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-
8376
### Media Queries
8477

8578
I drop Media Queries Level 3 support in v0.12.0. There is no easy way to support
8679
Media Queries properly with `after` syntax plugin like this one, sorry. If you
8780
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].
8982

9083

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

10295

10396
[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

after/syntax/html.vim

Lines changed: 0 additions & 80 deletions
This file was deleted.

after/syntax/scss.vim

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)