Skip to content

skammer/vim-css-color

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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 configuration.

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 recommend using pathogen.vim plugin for all your plugin installations. It's so good, it should be illegal. God bless Tim Pope.

About

Highlight colors in css files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published