diff options
| author | glepnir <glephunter@gmail.com> | 2025-07-29 21:24:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 06:24:44 -0700 |
| commit | 15d57ab0ba5e0031072cfa41fd83817a9ac60483 (patch) | |
| tree | 96a5f11700ca78fcfd0377641fa0325732749e6d /runtime/lua/vim/provider/python.lua | |
| parent | 029b7a149fa77cefe45e8df5524ef41ed4ee78eb (diff) | |
| download | rneovim-15d57ab0ba5e0031072cfa41fd83817a9ac60483.tar.gz rneovim-15d57ab0ba5e0031072cfa41fd83817a9ac60483.tar.bz2 rneovim-15d57ab0ba5e0031072cfa41fd83817a9ac60483.zip | |
fix(api): single-line visual block insert triggers extra on_lines #35098
Problem: Visual block insert on a single line incorrectly triggers two
on_lines callbacks - one for the correct line (0-indexed) and another
for a non-existent additional line.
Solution: Only call changed_lines() in block_insert() when additional
lines beyond the first were actually modified (start.lnum < end.lnum).
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions