vim-patch:9.0.2135: No test for mode() when executing Ex commands (#26282)

Problem:  No test for mode() when executing Ex commands
Solution: Add some test cases and simplify several other test cases.
          Also add a few more test cases for ModeChanged.

closes: vim/vim#13588

fcaeb3d42b
This commit is contained in:
zeertzjq
2023-11-29 06:51:00 +08:00
committed by GitHub
parent b7831c7f99
commit aa9d9cafd0
5 changed files with 31 additions and 19 deletions

View File

@@ -5812,9 +5812,9 @@ function vim.fn.mkdir(name, flags, prot) end
--- Rvc Virtual Replace mode completion |compl-generic|
--- Rvx Virtual Replace mode |i_CTRL-X| completion
--- c Command-line editing
--- cr Command-line while in overstrike mode |c_<Insert>|
--- cr Command-line editing overstrike mode |c_<Insert>|
--- cv Vim Ex mode |gQ|
--- cvr Vim Ex while in overstrike mode |c_<Insert>|
--- cvr Vim Ex mode while in overstrike mode |c_<Insert>|
--- r Hit-enter prompt
--- rm The -- more -- prompt
--- r? A |:confirm| query of some sort