Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Highlight colors in css files
VimL
Branch: master
Pull request Compare This branch is 19 commits ahead, 4 commits behind skammer:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
after/syntax
.gitignore
README.md
Screen shot 2010-07-04 at 0.19.46.png

README.md

vim-css-color plugin

css_color.vim plugin by Niklas Hofer is great, but lacks two important features:

  • Highlighting multiple colors on the same line (not sure if anyone uses it though)
  • rgb and rgba color notation for all those fancy CSS3 niceties

So here is my patch.

Screen shot

Configuration

g:cssColorVimDoNotMessMyUpdatetime is used when updatetime value set by plugin (100ms) is interfering with your confiduration.

let g:cssColorVimDoNotMessMyUpdatetime = 1

Post Scriptum

Major kudos to rainbow-mode.el, from which I borrowed some code, and to ConvertBase.vim plugin I used for base conversion.

I highly recomend using pathogen.vim plugin for all your plugin installations. It's so good, it should be illegal. God bless Tim Pope.

Something went wrong with that request. Please try again.