Open marcopolo4k opened 2 years ago
I use a light background in my Mac terminal, something like Basic, Man Page, or Novel
coverage_highlight chooses ctermbg=233.
So the highlighted lines are too dark to read.
This is ugly because I didn't see how vim can get the terminal's background color. But surely that's possible.
.vimrc
set background=light " not required for this workaround, but it's what I've been using let g:background = "light"
~/.vim/plugin/coverage_highlight.vim
if get(g:, 'background', "default") == "light" highlight CoveredLineColor ctermbg=252 else " default from coverage_highlight.vim highlight CoveredLineColor ctermbg=233 endif
Ooh. I'll see what I can do! I'll have to do some tests.
Setup
I use a light background in my Mac terminal, something like Basic, Man Page, or Novel
coverage_highlight chooses ctermbg=233.
Problem
So the highlighted lines are too dark to read.
Workaround
This is ugly because I didn't see how vim can get the terminal's background color. But surely that's possible.
.vimrc
~/.vim/plugin/coverage_highlight.vim