Closed delfick closed 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
NeoSolarized
is not a valid highlight group. Try:
hi link ClapDisplay CursorLine
hi link ClapSpinner PmenuSel
hi link ClapInput PmenuSel
and see :h highlight-groups
.
I still get the same problem with those settings.
interestingly this works now
hi ClapDisplay2 guibg=#9ad9ff
hi default link ClapDisplay ClapDisplay2
I swear I tried it before and it wasn't working. sigh. Sorry for the noise
I got it much nicer
hi ClapDisplay2 guibg=#003f66
hi default link ClapDisplay ClapDisplay2
hi ClapInput2 guibg=#000000
hi link ClapInput ClapInput2
hi YellowAndBlack gui=bold guibg=#7a804d guifg=black
hi link ClapCurrentSelection YellowAndBlack
hi link ClapNoMatchesFound YellowAndBlack
But I can't work out how to change the green color in the matches.
:h g:clap_fuzzy_match_hl_groups
awesome, that worked :)
One last question, the color of the matches is controlled by ClapFuzzyMatches[1-12]
?
I'm confused by the [1-12]
and setting this option doesn't seem to work.
i.e.
hi link ClapFuzzyMatches YellowAndBlack
Seems to make no difference.
ClapFuzzyMatche1
, ClapFuzzyMatche2
...
With g:clap_fuzzy_match_hl_groups
, you don' have to care about ClapFuzzyMatches[1, 12]
, they are doing the same thing and it should be noted as the deprecated option.
I mean the white text in this
That's fg of ClapDisplay
.
If I set say
hi ClapDisplay2 guibg=#003f66 guifg=#000000 ctermfg=black
hi default link ClapDisplay ClapDisplay2
The text remains white
If some syntax ftplugin is enabled, the syntax of display buffer will override ClapDisplay
. You can disable this behavior, but you'll lose the proper highlight then.
autocmd User ClapOnEnter call g:clap.display.setbufvar('&syntax', '')
hi ClapDisplay guibg=black guifg=red ctermbg=black ctermfg=red
hmm, in that minimal config I only have vim clap and NeoSolarized enabled
And NeoSolarized only has a colors directory in it.
Your line does work though
I'll give it a shot and see if I notice anything breaking.
Thanks!
Environment
Describe the bug I can't figure out how to change the background color of the popup window to be different than the background of my vim.
To Reproduce
min.vim
:2: Open popup window
Screenshots
Additional context I tried for a long time with different combinations of hi commands and I couldn't figure it out.