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
# Details
Previously 2 problems could occur with headings:
1. If the icon text was too long it would overwrite content
2. Concealed text was not accounted for exacerbating problem 1
To fix both of these use the width of concealed text when calculating padding.
If the padding is negative (not enough space) then use an inline
extmark and conceal the underlying '#'s, this will only happen
when using neovim >= 0.10.0. Negative padding on older versions
will skip rendering rather than overwriting text.
Other change included refactors unit tests to use common mark detail
creators in util, reduces the amount of boilerplate.
0 commit comments