From aa9d9cafd0da58745178fa5a9b0773dcce96f30e Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 29 Nov 2023 06:51:00 +0800 Subject: 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 https://github.com/vim/vim/commit/fcaeb3d42b228e73c669b2fce78f1d3fe112769f --- runtime/doc/builtin.txt | 4 ++-- runtime/lua/vim/_meta/vimfn.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index ab127d8c67..349bb93133 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -4850,9 +4850,9 @@ mode([expr]) *mode()* 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_| + cr Command-line editing overstrike mode |c_| cv Vim Ex mode |gQ| - cvr Vim Ex while in overstrike mode |c_| + cvr Vim Ex mode while in overstrike mode |c_| r Hit-enter prompt rm The -- more -- prompt r? A |:confirm| query of some sort diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index de2896e094..947424c4ad 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -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_| +--- cr Command-line editing overstrike mode |c_| --- cv Vim Ex mode |gQ| ---- cvr Vim Ex while in overstrike mode |c_| +--- cvr Vim Ex mode while in overstrike mode |c_| --- r Hit-enter prompt --- rm The -- more -- prompt --- r? A |:confirm| query of some sort -- cgit