You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have cursorline set (:set cursorline) and a color that vim-css-color changes the backgroung for (for instance background: orange;), the background color set because of cursorline overrides the one set by vim-css-color. However when I search (and I have hlsearch enabled), the yellow of the matched word(s) from the search overrides the cursorline background. Is there a way this plugin can do the same?
I wouldn't mind but if the color is #FFFFFF (for instance) then the text color is set to black. So when you move onto that line with a dark theme the text becomes almost invisible. The indent guides plugin seems to be able to set the correct background color. Maybe that would be a place to look for a solution.
Hi everyone, I ended up merging two plugins(Aristotle Pagaltzis version of vim-css-colors) and colorizer, so that I can avoid this bug but keep hsl(a) and named colors. You can grab it here
Don't forget to put 'star' on repo =)
Activity
MarioRicalde commentedon Oct 28, 2012
This is still a issue.
Olical commentedon Jan 22, 2013
I wouldn't mind but if the color is
#FFFFFF
(for instance) then the text color is set to black. So when you move onto that line with a dark theme the text becomes almost invisible. The indent guides plugin seems to be able to set the correct background color. Maybe that would be a place to look for a solution.jhenninger commentedon May 22, 2013
https://github.com/lilydjwg/colorizer also works with cursorline enabled and is not limited to CSS files. Unfortunately, it does not visualize named colors, e.g. "red".
gko commentedon Aug 11, 2013
Hi everyone, I ended up merging two plugins(Aristotle Pagaltzis version of vim-css-colors) and colorizer, so that I can avoid this bug but keep hsl(a) and named colors. You can grab it here
Don't forget to put 'star' on repo =)
MarioRicalde commentedon Aug 11, 2013
@gorodinskiy nice! I'm going to check it out.
Thanks!
set cursorline
ap/vim-css-color#24chrisbra commentedon Sep 24, 2013
My improved color highlight plugin also does not have that problem: https://github.com/chrisbra/color_highlight
ap commentedon Jan 11, 2014
My optimised, HSL-supporting fork of this plugin now has a fix for
cursorline
too → ap/vim-css-color