diff options
| author | Aufar Gilbran <aufargilbran@gmail.com> | 2020-08-19 00:54:50 +0800 |
|---|---|---|
| committer | Aufar Gilbran <aufargilbran@gmail.com> | 2020-09-11 10:37:52 +0800 |
| commit | 112092fa1598fbfa9dae723da5e52d2dec8da2f0 (patch) | |
| tree | e33c861f6d27e660b25696e822596563f6e77b63 /src/nvim/testdir | |
| parent | b0042cafc072c92e0db07cecb6ff03a9fc1df78e (diff) | |
| download | rneovim-112092fa1598fbfa9dae723da5e52d2dec8da2f0.tar.gz rneovim-112092fa1598fbfa9dae723da5e52d2dec8da2f0.tar.bz2 rneovim-112092fa1598fbfa9dae723da5e52d2dec8da2f0.zip | |
vim-patch:8.1.0392: error while typing :/foo/s// with 'incsearch' enabled
Problem: Error while typing :/foo/s// with 'incsearch' enabled.
Solution: Do not give search errors when highlighting matches.
https://github.com/vim/vim/commit/50eb16c3b23235b21ce4494673a7741a9a196176
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_search.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index 8741def3bf..ec4c15cd11 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -796,6 +796,10 @@ func Test_keep_last_search_pattern() call feedkeys(":/foo/s//\<Esc>", 'ntx') call assert_equal('bar', @/) + " no error message if pattern not found + call feedkeys(":/xyz/s//\<Esc>", 'ntx') + call assert_equal('bar', @/) + bwipe! call test_override("ALL", 0) set noincsearch |