aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/loader.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-02 09:42:40 -0400
committerGitHub <noreply@github.com>2026-09-02 09:42:40 -0400
commit350fa5ad7ccc014bcdd0eea2bd76ba09a265452e (patch)
tree7098192eb9c32eaf27e6d54ea8180b6652baf23a /runtime/lua/vim/loader.lua
parent3ea7bc3f607bdc08940698e7d049036e1f788c66 (diff)
downloadrneovim-350fa5ad7ccc014bcdd0eea2bd76ba09a265452e.tar.gz
rneovim-350fa5ad7ccc014bcdd0eea2bd76ba09a265452e.tar.bz2
rneovim-350fa5ad7ccc014bcdd0eea2bd76ba09a265452e.zip
fix(multicursor): act on fold contents, not the fold itself #41622
Problem: If an edit cascades to cursor(s) that happen to be within a closed fold, the edit acts on the fold itself (`:h fold-behavior`). E.g. "dd" deletes the entire fold, not the cursor's line within the fold. Solution: Check `mc_replaying()` in `hasAnyFolding()`, so folds are ignored during a multicursor cascade. This means multicursor always replays relative to text *within* the fold.
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions