diff options
| author | glepnir <glephunter@gmail.com> | 2026-01-23 16:35:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-23 08:35:43 +0000 |
| commit | 589232c0e0656afe5db2c96b63380cbefa4ac8a9 (patch) | |
| tree | abaaaed9e8e9769fef72e6dbb0162340a3c21b1a /runtime/syntax/python.vim | |
| parent | 647d3dc45449f86d212ead4e8ab07b55cd20d20e (diff) | |
| download | rneovim-589232c0e0656afe5db2c96b63380cbefa4ac8a9.tar.gz rneovim-589232c0e0656afe5db2c96b63380cbefa4ac8a9.tar.bz2 rneovim-589232c0e0656afe5db2c96b63380cbefa4ac8a9.zip | |
fix(extmark): wrong eol_right_align width calculation (#37034)
Problem: Multiple eol_right_align virtual texts with different widths
are incorrectly positioned. The lookahead loop uses `item` instead of
`lookaheadItem` when checking kind and accessing data, causing all
items to use the first item's width.
Solution: Use `lookaheadItem->kind` and `lookaheadItem->data.vt`
instead of `item->kind` and `item->data.vt` in the lookahead loop.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions