aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-16 08:32:53 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-08-17 06:34:59 +0800
commita25dbeee10756a8f457d4632e8fda0c1cb509d61 (patch)
tree321260d40dec9db540d427bb2ce180e64aca64da /runtime
parent4afd4061a23c60de26818bc3847e50c791a8f26c (diff)
downloadrneovim-a25dbeee10756a8f457d4632e8fda0c1cb509d61.tar.gz
rneovim-a25dbeee10756a8f457d4632e8fda0c1cb509d61.tar.bz2
rneovim-a25dbeee10756a8f457d4632e8fda0c1cb509d61.zip
vim-patch:9.1.0677: :keepp does not retain the substitute pattern
Problem: :keeppatterns does not retain the substitute pattern for a :s command Solution: preserve the last substitute pattern when used with the :keeppatterns command modifier (Gregory Anders) closes: vim/vim#15497 https://github.com/vim/vim/commit/3b59be4ed8a145d3188934f1a5cd85432bd2433d Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/cmdline.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index f306067a9c..fa68d69371 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -348,7 +348,7 @@ terminals)
:keepp[atterns] {command} *:keepp* *:keeppatterns*
Execute {command}, without adding anything to the search
- history
+ history or modifying the last substitute pattern.
==============================================================================
2. Command-line completion *cmdline-completion*