diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-25 15:54:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-25 15:54:16 +0200 |
commit | 333015a46e916f566763ec44ae8669c0378767d9 (patch) | |
tree | dc3532022d4401595b0aa5b214f40d138ad6fe08 /src/testdir/test_search.vim | |
parent | 41f6918bf4545de6a80c96d8c80f5f509f9a647f (diff) | |
download | vim-git-333015a46e916f566763ec44ae8669c0378767d9.tar.gz |
patch 8.2.0637: incsearch highlighting does not work for ":sort!"v8.2.0637
Problem: Incsearch highlighting does not work for ":sort!".
Solution: Skip over the exclamation point. (closes #5983)
Diffstat (limited to 'src/testdir/test_search.vim')
-rw-r--r-- | src/testdir/test_search.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim index aaa42352c..7aaf8db52 100644 --- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -1136,11 +1136,14 @@ func Test_incsearch_sort_dump() " the 'ambiwidth' check. sleep 100m - " Need to send one key at a time to force a redraw. call term_sendkeys(buf, ':sort ni u /on') call VerifyScreenDump(buf, 'Test_incsearch_sort_01', {}) call term_sendkeys(buf, "\<Esc>") + call term_sendkeys(buf, ':sort! /on') + call VerifyScreenDump(buf, 'Test_incsearch_sort_02', {}) + call term_sendkeys(buf, "\<Esc>") + call StopVimInTerminal(buf) call delete('Xis_sort_script') endfunc |