wolray / symbol-overlay

Highlight symbols with keymap-enabled overlays
346 stars 42 forks source link

Fix get overlays when point is at end of symbol #89

Closed BlindingDark closed 1 year ago

BlindingDark commented 1 year ago

Because we have a symbol-overlay-adjust-position function, so we need to get the previous overlay too when the cursor is at the end.

Before this PR. image

After... image

BlindingDark commented 1 year ago

Hi @purcell , I can still reproduce this issue after the #91 merge. I resolved the conflict, please check out this PR when you have time, thanks! :pray:

purcell commented 1 year ago

Thanks