Apprentice
Apprentice copied to clipboard
Vim patch 9.0.0032: Cursorline + QuickFixLine no longer look right together
There's always been a weird interaction between cursor line highlight and QuickFix current line highlight.
Steps to repro:
- Using vim 9.0.0032 in the vim build directory, run :
env VIMRUNTIME=$(pwd)/runtime ./src/vim --clean --cmd 'set rtp+=$HOME/.vim/bundle/Apprentice' --cmd 'colorscheme apprentice' --cmd 'set termguicolors' --cmd 'set cursorline' -c 'grep edit src/edit.c' -c 'copen'
-
ctrl-w j
- jump to quick fix - see that the cursor line highlight and the quick fix line highlights make the text unreadable.
Screenshot:

Demo showing both current and previous:
https://asciinema.org/a/xxn6mnepdN5qfrYN6GUD8ju9J
Without apprentice colorscheme:
- get into vim source directory
- vim -Nu NONE
-
:grep vim9
-
:hi Cursorline ctermbg=236
-
:set cursorline
-
:copen
- place cursor to the selected quickfix line
I guess https://github.com/vim/vim/issues/10654 should be either reverted or implemented as was suggested, Cursorline overrides Quickfixline.
damn, I thought I was doing it in vim repo :(
I forget to create a branch for the desert fix in vim/colorschemes, you think you are in vim/vim… what the hell is going on?
It's my aura. It has this effect on people. Some sort of distortion field.
The issue has been fixed upstream:
