semshi
semshi copied to clipboard
Black keyword when using termguicolors options in some terminal.
I am using this plugin to add more syntax highlight to my Python code. I have found that there are weird colors when using this plugin using zoc terminal. But when using semshi on mintty, I find no such issue. On both mintty and zoc, I have set TERM
variable to xterm-256color
.
I have found that it has something to do with termguicolor
option together with semshi. The following config is the minimal config to reproduce the problem:
set runtimepath+=/path/to/semshi
set termguicolors
You can see that os
is almost black and hardly distinguishable from the terminal background color.
However, when we use set notermguicolors
, there is no issue:
I am not sure what is the root cause of this issue, but termguicolors
option works perfectly fine in zoc terminal without the presence of plugin semshi.
What do the following highlight groups read?
hi semshiGlobal
hi semshiImported
@wookayin hi semshiGlobal
shows:
semshiGlobal ctermfg=214 guifg=#ffaf00
hi semshiImported
show:
semshiImported cterm=bold ctermfg=214 gui=bold guifg=#ffaf00