diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-04-11 13:46:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 04:46:55 -0700 |
| commit | 4a706a70928231643e1a3f3fcf785de7aa930f8b (patch) | |
| tree | 0a0d0df2607c03cfdcd82b328958d2a9bba62c32 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 064ff74cdbe6699b3bdcca9c9040aaa8154a4f1d (diff) | |
| download | rneovim-4a706a70928231643e1a3f3fcf785de7aa930f8b.tar.gz rneovim-4a706a70928231643e1a3f3fcf785de7aa930f8b.tar.bz2 rneovim-4a706a70928231643e1a3f3fcf785de7aa930f8b.zip | |
fix(column): don't count signs on lines beyond eob #33410
Problem: Computed previous buffer line count may be beyond end of
buffer. This results in signs being removed from `b_signcols`
that were never included in it, tripping an assertion.
Solution: Store the previous line count as it was before appending or
deleting lines. Use it to clamp the edited region when
clearing signs before a splice, after which it is reset.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions