skammer / vim-css-color

Highlight colors in css files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colors don't show up in CSS file, if the HEX value is after a `:`

Chrissi4446 opened this issue · comments

vim-css-colors didn't work in css file after a : (colon) was before the hex value.
For example:
.someClass{
color: #F2F2F2
}
In this case the colors don't show up because of the colon. it works fine if there is no colon to the left of the Hex value.

That example seem to work fine in my fork of this plugin. But I think it should work even with this version of the plugin, so I’m not 100% sure that my successful test means it will work for you as well. I’d be grateful if you can check to see if you can reproduce the bug even with my fork, because in that case I’d want to fix it (which isn’t likely to happen to happen to this version of the plugin). As a free side effect you’ll also get much better performance and a whole bunch of additional supported filetypes.