aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-30 16:19:12 +0200
committerJustin M. Keyes <justinkz@gmail.com>2026-09-30 18:36:09 +0200
commitb563fb8bfc8f30ec93b9d9168fcc5ec7cad114da (patch)
tree5fe0e740dfc8262591db290c9588ced87bb99471 /runtime/lua/vim/_ftplugin/lua.lua
parent9f7fb8b27dc03daf21ff4524b982e1d6e982ca5e (diff)
downloadrneovim-b563fb8bfc8f30ec93b9d9168fcc5ec7cad114da.tar.gz
rneovim-b563fb8bfc8f30ec93b9d9168fcc5ec7cad114da.tar.bz2
rneovim-b563fb8bfc8f30ec93b9d9168fcc5ec7cad114da.zip
fix(multicursor): zq failed motions, "t", first step
Problem: - "Vjzqfx" (on a line without "x") places a cursor at the selection start. - 'nowrapscan': `zqN` places a cursor on a non-match; `zq#` mid-word places it mid-word. - `zqfa` places at primary even if not on an "a". - `zqti` stops after one step (bc "ti" before an "i" does not move). Solution: - `did_beep_silent`: counts beeps silenced by `emsg_silent`, so `zq` steps can detect failed motions. - If a `zq` step does not move the cursor, retry it from the next char. - Decide the first `zq` step the same way as `{Visual}zq` already does: the primary is considered a step only if the motion lands on it.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions