4

We have vim-css-color to display colors in .css files. Currently I'm editing my i3wm config to match colors to a new terminal theme and it would be quite handy to be able to actually see colors I'm dealing with. Is there a plugin that would highlight colors in any file?

I tried to use the above mentioned plugin by renaming a config to config.css but it still misses a couple of colors. Here is a comparison of what atom (first picture) does and what nvim (second picture) does:

atom color highlighting nvim with vim-css-color highligting

3

I made a plugin Colorizer That should do what you want. Read the help for more information.

  • That's exactly what I was searching for! Many thanks! – ddnomad Apr 7 '17 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.