https://github.com/chrisyip/better-css-syntax-for-vim
Better CSS Syntax for Vim
https://github.com/chrisyip/better-css-syntax-for-vim
Last synced: 11 months ago
JSON representation
Better CSS Syntax for Vim
- Host: GitHub
- URL: https://github.com/chrisyip/better-css-syntax-for-vim
- Owner: chrisyip
- Created: 2010-08-26T17:44:10.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2013-06-20T07:54:20.000Z (almost 13 years ago)
- Last Synced: 2025-02-17T06:41:32.221Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 366 KB
- Stars: 57
- Watchers: 1
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Better CSS Syntax for Vim
Highlights for full CSS2, most of HTML5 & CSS3 properties (include prefix like -moz-).
__Preview:__
Molokai sheme:

Slate scheme:

## Known issue:
- May not collaborate with some plugins, e.g. CSS Color, Sass
- Some properties can't highlighted well with prefix
- CSS3 animation properties highlighting
Because of this plugin is built for standard CSS and not compatible with original css.vim (see [this](https://github.com/ChrisYip/Better-CSS-Syntax-for-Vim/issues/9#issuecomment-6034606)), if you run into any error that related to CSS, you may need this:
__Sass:__
How to get rid of the error:
- edit `sass.vim`, go to line 16, delete `cssValue.*,`
- edit your `.vimrc`, add `au BufRead,BufNewFile *.sass set filetype=css`
Or, try [css3 syntax](http://www.vim.org/scripts/script.php?script_id=3042) or [vim-css3-syntax](https://github.com/hail2u/vim-css3-syntax).