aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/range.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-08-17 01:55:14 -0400
committerGitHub <noreply@github.com>2026-08-17 01:55:14 -0400
commitea6abf15fe1f570a10c54211bf5209e9f9d38707 (patch)
tree1de3f8e84e9dfcb6708a783660218702d9b30b02 /runtime/lua/vim/range.lua
parent8c0bf183745928f71fbd58f4b73afafbd6a045d4 (diff)
downloadrneovim-ea6abf15fe1f570a10c54211bf5209e9f9d38707.tar.gz
rneovim-ea6abf15fe1f570a10c54211bf5209e9f9d38707.tar.bz2
rneovim-ea6abf15fe1f570a10c54211bf5209e9f9d38707.zip
refactor(cmdatom): do "redo prep" in one place #41348
Problem: Redo prep is scattered/duplicated. - `do_pending_operator()` has 3 prep blocks whose conditions must be in sync with `atom_capture_op()`. - insert.c, spell_suggest() hand-roll `redo_new()` + `redo_append_xx()` sequences. - prep_redo() has 2 roles, decided by `keys != NULL`. Solution: - `atom_capture_op()` is the "operator" entry point: capture, then prep. - Extract `prep_redo_visual()`, `atom_capturable()`.
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions