| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Add CSS3 syntax support to vim's built-in syntax/css.vim.
Download from GitHub, extract vim-css3-syntax.tar.gz, and copy the contents to your ~/.vim directory.
$ cd ~/.vim/bundle $ git clone https://github.com/hail2u/vim-css3-syntax.git
I do not plan to support CSS3 properties (or functions) with vendor prefixes, such as -webkit- or -moz-, etc. These are hard to maintain because they are:
These must be supported by separate syntax plugins. Or, if you want to highlight prefixed properties or functions, :highlight and :match would help.
:highlight VendorPrefix guifg=#00ffff gui=bold :match VendorPrefix /-\(moz\|webkit\|o\|ms\)-[a-zA-Z-]\+/
These commands highlight vendor prefixed properties and functions instantly with cyan and bold (on gVim).
Kyo Namegashima kyo@hail2u.net
| Back | FazBrowse Home | New Git URL |