]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0677: :keepp does not retain the substitute pattern v9.1.0677
authorGregory Anders <greg@gpanders.com>
Thu, 15 Aug 2024 20:04:22 +0000 (22:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 15 Aug 2024 20:09:28 +0000 (22:09 +0200)
commit3b59be4ed8a145d3188934f1a5cd85432bd2433d
treebda28c1a26321ab648b4273abf0d89c4b490d102
parent12cb1d1326c785c0f44303d113f27edcd473cb33
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: #15497

Signed-off-by: Gregory Anders <greg@gpanders.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/cmdline.txt
runtime/doc/version9.txt
src/ex_cmds.c
src/testdir/test_substitute.vim
src/version.c