I want the cursor line in the quickfix window to be more distinguishable, than in other windows.
Initially I thought that there has to be some different highlight group, it seemly turned out to be false.
Then I had an idea to set the cursorline highlight on a per syntax basis, I added the qf.vim
file to the after/syntax
directory with a corresponding setting. But when I opened the quickfix window the cursor line changed its background not only in the quickfix but in all other windows too.
Then I tried to use the Search
highlight group (the docs :help hl-Search
say that this group is used for highlighting the search matches and the current line in the quickfix window). But it didn't work, the current line (cursor line) has remained the same, though the Search was enabled correctly (I checked it with the :hi
command and when I tried to search for a pattern it highlighted all matches in the current window as well as the quickfix one, but not the whole current line in the quickfix.
Is there a way to do this, without changing the source and compiling Vim myself?
Thank you.