Open afgomez opened 8 years ago
7.4.949 might change the behavior. Could you check the master branch?
It's still happening with the version from HEAD
$ mvim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 4 2015 10:11:43)
MacOS X (unix) version
Included patches: 1-960
...
Since I'm more or less responsible for the current ligature support I think I know what's going on here.
As the colorcolumn is rendered with a different background the renderer will probably do a drawString
for the single '! ' and then a second for the remaining characters '=='. In that case the ligature can't be detected properly (for detection all characters forming a ligature have to be drawn in the same drawString
).
@Shirk It's been... a while, but any thoughts on whether or not there might be a fix (or way forward) for this issue? Granted, it's not huge, but it is pretty distracting for anyone using a font with ligature support.
Thanks for all of the work!
@stevenharman Could you draw what do you expect in colors? This would help developers to make a patch
When writing a character with a ligature in a column with a painted
colorcolumn
the ligature doesn't show.You can see it in the screenshot. The first !== shows the correct ligature, but the second shows the actual characters.
This happens in latest stable build from homebrew