New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight on rgba
does not fit the standard
#15
Comments
Hi LiTuX.! On Mo, 20 Mai 2013, LiTuX. S wrote:
A yes, this is true. Fixed it in the github repository.
Please give me examples of wrong colored strings.
That's why, I didn't use the CursorMoved event. CursorHold(I) regards, ChristianVollkommenheit kann mit Disproportion bestehen, Schönheit |
According to the code, something like The plugin I mentioned above DO use CursorMoved event, but its speed is acceptable, perhaps we can borrow something from it, to make this one better. :) |
Hi LiTuX.! On Mi, 22 Mai 2013, LiTuX. S wrote:
Can you check, if the latest version works better for you? regards, ChristianFrieden ist viel wertvoller als ein Stück Land. |
It seems that the alpha value should be a real number like
0.8
(see http://w3schools.com/cssref/css_colors_legal.asp ), but such a value can not be highlighted by this plugin. However, sometimes any integers or even string as the alpha value can be accepted by Colorizer (use the \cT map, because sometimes the \cC command does not work. I don't know why :(. )BTW, Colorizer use the CursorHold(I) event, hence any modify on the colors can be highlighted only if I wait some seconds, I think it should be better if the highlighting takes place immediately after some modification, like this one does ( https://github.com/lilydjwg/colorizer ), hence I modified the CursorHold into CursorMoved, but the movement in vim then became much slower. Will there be some future version which will solve those problems?
The text was updated successfully, but these errors were encountered: