diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-09-14 01:17:47 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-09-14 18:19:45 -0400 |
commit | ea03032018c39b9976b664071ebcd1a75463348c (patch) | |
tree | fd7cad48f33cb77030ea5399e24cf372318f6fb6 /src/nvim/testdir/test_search.vim | |
parent | f34eeba2d85b4382d7504e1f3e12a7afb0788c1d (diff) | |
download | rneovim-ea03032018c39b9976b664071ebcd1a75463348c.tar.gz rneovim-ea03032018c39b9976b664071ebcd1a75463348c.tar.bz2 rneovim-ea03032018c39b9976b664071ebcd1a75463348c.zip |
vim-patch:8.1.2338: using Visual mark sith :s gives E20 if not set
Problem: Using Visual mark sith :s gives E20 if not set.
Solution: Ignore errors when handling 'incsearch'. (closes vim/vim#3837)
https://github.com/vim/vim/commit/c672525b487992306f69ceab093291ba3b8e4246
N/A patches for version.c:
vim-patch:8.2.1526: line in testdir Makefile got commented out
Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
Solution: Revert.
https://github.com/vim/vim/commit/228e62975e7aef9d6224a5a7c43625c1c1494fc2
vim-patch:8.2.1675: MinGW: testdir makefile deletes non-existing file
Problem: MinGW: testdir makefile deletes non-existing file.
Solution: Use another way to delete the output file if it already exists.
(Michael Soyka)
https://github.com/vim/vim/commit/05c1acd5e1564ea4dbc7d4be26908af6909f43f6
Diffstat (limited to 'src/nvim/testdir/test_search.vim')
-rw-r--r-- | src/nvim/testdir/test_search.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index e3a0fce5a6..aaa60e39c9 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -708,6 +708,19 @@ func Test_incsearch_substitute_dump() call VerifyScreenDump(buf, 'Test_incsearch_substitute_12', {}) call term_sendkeys(buf, "\<Esc>") call VerifyScreenDump(buf, 'Test_incsearch_substitute_13', {}) + call term_sendkeys(buf, ":%bwipe!\<CR>") + call term_sendkeys(buf, ":only!\<CR>") + + " get :'<,'>s command in history + call term_sendkeys(buf, ":set cmdheight=2\<CR>") + call term_sendkeys(buf, "aasdfasdf\<Esc>") + call term_sendkeys(buf, "V:s/a/b/g\<CR>") + " Using '<,'> does not give E20 + call term_sendkeys(buf, ":new\<CR>") + call term_sendkeys(buf, "aasdfasdf\<Esc>") + call term_sendkeys(buf, ":\<Up>\<Up>") + call VerifyScreenDump(buf, 'Test_incsearch_substitute_14', {}) + call term_sendkeys(buf, "<Esc>") call StopVimInTerminal(buf) call delete('Xis_subst_script') |