aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-04-11 13:36:49 +0200
committerGitHub <noreply@github.com>2025-04-11 04:36:49 -0700
commit064ff74cdbe6699b3bdcca9c9040aaa8154a4f1d (patch)
tree9f52b752802149e1f11bccfd4d27c55c32c81928 /runtime/lua/vim/_ftplugin/lua.lua
parent5111d66ac9bc9d69067613b610de4cecb475fd53 (diff)
downloadrneovim-064ff74cdbe6699b3bdcca9c9040aaa8154a4f1d.tar.gz
rneovim-064ff74cdbe6699b3bdcca9c9040aaa8154a4f1d.tar.bz2
rneovim-064ff74cdbe6699b3bdcca9c9040aaa8154a4f1d.zip
fix(marks): wrong display after inserting/deleting lines #33389
Problem: Lines to/from which virt_lines or inline virt_text may have moved are left valid. Similarly the modified region may be too small to account for moved decorations after inserting or deleting lines. `redrawOneLine()` can be replaced with a call to `changed_lines_redraw_buf()`. Solution: Invalidate the line after a change if there is virt_lines, or inline virt_text in the buffer with 'wrap' enabled. Extend the modified region for inserted or deleted lines if there may be decorations in the buffer. Remove `redrawOneLine()`. Simplify the logic for `changed_lines_invalidate_win()`. Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions