diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-13 18:09:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 18:09:11 -0400 |
| commit | 2f0e5e7e67faa469f5d12a66ec084ab9c35d8c6b (patch) | |
| tree | 75b8de1718e5004f2fc2426d3205eb797f2b9733 /src/nvim/testdir/test_quickfix.vim | |
| parent | e2bc0bf6656124afc47980210e96c31bd3357bea (diff) | |
| parent | 8f4ba0a46becf631f00179264938f2be131945cd (diff) | |
| download | rneovim-2f0e5e7e67faa469f5d12a66ec084ab9c35d8c6b.tar.gz rneovim-2f0e5e7e67faa469f5d12a66ec084ab9c35d8c6b.tar.bz2 rneovim-2f0e5e7e67faa469f5d12a66ec084ab9c35d8c6b.zip | |
Merge pull request #14802 from janlazo/vim-8.2.1354
vim-patch:8.2.{936,1354,2990}
Diffstat (limited to 'src/nvim/testdir/test_quickfix.vim')
| -rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index bf15f7f52b..14240f0d5f 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -2692,6 +2692,28 @@ func Test_cwindow_jump() set efm&vim endfunc +func Test_cwindow_highlight() + CheckScreendump + + let lines =<< trim END + call setline(1, ['some', 'text', 'with', 'matches']) + write XCwindow + vimgrep e XCwindow + redraw + cwindow 4 + END + call writefile(lines, 'XtestCwindow') + let buf = RunVimInTerminal('-S XtestCwindow', #{rows: 12}) + call VerifyScreenDump(buf, 'Test_quickfix_cwindow_1', {}) + call term_sendkeys(buf, ":cnext\<CR>") + call VerifyScreenDump(buf, 'Test_quickfix_cwindow_2', {}) + + " clean up + call StopVimInTerminal(buf) + call delete('XtestCwindow') + call delete('XCwindow') +endfunc + func XvimgrepTests(cchar) call s:setup_commands(a:cchar) |