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
Firstly, thanks for you effort on this amazing plugin!
A small bug I found when playing with it is that when &wrap is set and there is a wrapped long line before the image, the image position will be miscalculated, here are some screenshots:
No wrap:
After :set wrap:
Could we take &wrap into consideration when calculating the image position? In addition, some options, such as &soothscroll, &breakindent, &breakindentpot, &linebreak can affect the visual height of a single logic line.
The text was updated successfully, but these errors were encountered:
Hey, thank you for the kind words!
I did try to make it work with wrap & co, but didn't get far.
There are many options that have an impact on how many lines a "line" spans vertically.
Wouldn't do it unless we get some kind of API for measuring that, or find some magic way to do it consistently.
It also has to be very performant, as we have to compute and sum the visual height of all the lines in the buffer to pinpoint where to render.
I'd say that for me at least it's out of scope, but would be happy to merge any good solution for it.
I got used to textwidth and using gw just to avoid wrap issues, many things are not compatible with &wrap.
Firstly, thanks for you effort on this amazing plugin!
A small bug I found when playing with it is that when
&wrap
is set and there is a wrapped long line before the image, the image position will be miscalculated, here are some screenshots:No wrap:
After
:set wrap
:Could we take
&wrap
into consideration when calculating the image position? In addition, some options, such as&soothscroll
,&breakindent
,&breakindentpot
,&linebreak
can affect the visual height of a single logic line.The text was updated successfully, but these errors were encountered: