patch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine
Problem: In the quickfix window 'cursorline' overrules QuickFixLine
highlighting.
Solution: Combine the attributes. Add a test. (closes #10654)
diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim
index 2a97375..2431a46 100644
--- a/src/testdir/test_quickfix.vim
+++ b/src/testdir/test_quickfix.vim
@@ -3136,6 +3136,12 @@
call term_sendkeys(buf, ":cnext\<CR>")
call VerifyScreenDump(buf, 'Test_quickfix_cwindow_2', {})
+ call term_sendkeys(buf, "\<C-W>j:set cursorline\<CR>")
+ call VerifyScreenDump(buf, 'Test_quickfix_cwindow_3', {})
+
+ call term_sendkeys(buf, "j")
+ call VerifyScreenDump(buf, 'Test_quickfix_cwindow_4', {})
+
" clean up
call StopVimInTerminal(buf)
call delete('XtestCwindow')