vim-css-color icon indicating copy to clipboard operation
vim-css-color copied to clipboard

Doesn't work with css variables

Open MoOx opened this issue 10 years ago • 2 comments

It highlight name of css custom properties that have a color, but doesn't highlight the actual colors...

screen shot 2015-03-23 at 12 28 39

Here is a snippet to test.

:root {
  --vr-Color-white: #fbfeff;
  --vr-Color-black: #001118;

  --vr-Color-lightblue: #009cbc;
  --vr-Color-blue: #00739e;
  --vr-Color-darkblue: #004063;

  --vr-Color-red: #a41635;
  --vr-Color-darkred: #a41635;

  --vr-Color-orange: #e25d40;
  --vr-Color-lightorange: #F88228;
}

I am very new to vim but I can try to handle this if you are open to.

MoOx avatar Mar 23 '15 11:03 MoOx

Or you can just install my fork of this plugin – I tested your snippet and it’s already fixed in mine. My fork is also drastically faster, supports other languages, etc.

ap avatar Mar 23 '15 14:03 ap

Already found ;)

MoOx avatar Mar 23 '15 14:03 MoOx