Mercurial > vim
diff src/testdir/test_search.vim @ 20164:2dd1ac2c48f4 v8.2.0637
patch 8.2.0637: incsearch highlighting does not work for ":sort!"
Commit: https://github.com/vim/vim/commit/333015a46e916f566763ec44ae8669c0378767d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 25 15:54:16 2020 +0200
patch 8.2.0637: incsearch highlighting does not work for ":sort!"
Problem: Incsearch highlighting does not work for ":sort!".
Solution: Skip over the exclamation point. (closes https://github.com/vim/vim/issues/5983)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 25 Apr 2020 16:00:04 +0200 |
parents | 0b35a7ffceb2 |
children | a4bd28e2cf1d |
line wrap: on
line diff
--- 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