Closed moetayuko closed 4 years ago
@sainnhe Thanks for the fix, but highlighted words became indistinguishable again after https://github.com/sainnhe/gruvbox-material/commit/33adda2c86f92fa8d41cf80f3291a425e834be1f
I use coc-highlight to highlight the symbol under the cursor, in the following cases false
are highlighted.
w/o https://github.com/sainnhe/gruvbox-material/commit/33adda2c86f92fa8d41cf80f3291a425e834be1f
w/ https://github.com/sainnhe/gruvbox-material/commit/33adda2c86f92fa8d41cf80f3291a425e834be1f
Should be fixed via 5797fe8.
@sainnhe Just noticed that the implementation is problematic, the blocks guarded with if &diff
only get applied on vim start, as a result, they only take effect when vim is launched with vimdiff a.txt b.txt
, but not when toggling diff mode with :diffthis
in a normal vim instance.
Concreately, https://github.com/sainnhe/gruvbox-material/commit/db6d465d06f5927b571bddc7d715e7d3caba49c3 and https://github.com/sainnhe/gruvbox-material/commit/5797fe8721b396cdd84dc4b2575532c192c4b98f don't get applied in the 2nd case.
Is there any event for this command? If so, we can add a autocmd
to reload this color scheme.
I'm not sure about this. PR is welcome.
echo $TERM
: xterm-256colortmux -V
:vim --version
ornvim --version
:Steps to reproduce this bug using minimal vimrc
Actual behaviour
Expected behaviour
The words are readable