mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 10:55:40 +00:00
Problem: v:register is wrong in v_: command (after 9.1.1858). Solution: Don't reset v:register for OP_COLON (zeertzjq) related: https://github.com/vim/vim/pull/18583#issuecomment-3418030021 closes: vim/vim#185970124320c97While at it, also fix using stale set_prevcount value. That only matters when readbuf1 ends with an operator or a register, which never happens, but it's still good to avoid using a stale value. (cherry picked from commit68a54bfda6)