Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(blame): avoid right-aligned blame overlapping buftext
When the blame text's length exceeds the available space to the right of the buffer's text, the intention is to switch to the 'eol' extmark placement. However, there were a number of issues that could trip up the time at which it swtiches to 'eol': - if the buffer line or virtual text contain multibyte characters, they weren't counted properly in terms of screen cells that they'd consume - incorrect window identifer was passed when calculating the available space, meaning that signs/folds/numbers columns weren't properly accounted for
- Loading branch information