mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.3k stars 186 forks source link

Cannot change Startify colors when `termguicolors` is set #456

Closed AkashKarnatak closed 3 years ago

AkashKarnatak commented 3 years ago

NVim version: v0.5.0 OS: Debian 10(Buster)

highlight StartifyHeader ctermfg=Blue

does not set header's color to blue when set termguicolors is also included in init.vim.

Screenshot from 2021-01-21 17-15-18

When I disable termguicolors then I get the expected result

Screenshot from 2021-01-21 17-15-04

But I cannot compromise with termguicolors as it is required for coc-highlight.

AkashKarnatak commented 3 years ago

Guess, when you set ctermfg color you need to also specify guifg color otherwise it just won't work. So doing

highlight StartifyHeader ctermfg=10 guifg=#73d900

works

zachliu commented 1 month ago

in my case, all the cterm* have no effect

highlight StartifyHeader guifg=LightGreen

works fine

2024-07-23_14-10