From 2db3f42a331d5b4a525e63f94da3b9bf0378917e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 8 Jul 2012 22:31:40 +0900 Subject: [PATCH] update README Add how to highlight vendor prefixed properties and functions. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd74f54..141e79b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Add CSS3 syntax support to vim's built-in `syntax/css.vim`. INSTALLATION ------------ -Extract vim-css3-syntax.tar.gz and copy contents to `~/.vim` directory. +Download from GitHub, extract `vim-css3-syntax.tar.gz`, and copy contents to `~/.vim` directory. ### Git and pathogen @@ -91,13 +91,18 @@ Create `~/.vim/after/syntax/scss.vim` and write these lines: About Vendor Extension ---------------------- -I don't hava a plan to support a CSS 3 property (and function) with vendor extension, such as `-webkit-` or `-moz-`. These are hard to maintain because: +I do not hava a plan to support a CSS 3 property (and function) with vendor extension, such as `-webkit-` or `-moz-`, etc.. These are hard to maintain because: * Added frequently * Changed unexpectedly * Removed silently -These must be supported by seperate syntax plugin. +These must be supported by seperate syntax plugin. 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). HISTORY