1

I am going through the unfortunate process of making keybinds to change colorschemes, but different plugins have their own highlight groups which is making this difficult.

Is there a way to set the terminal background color for all highlight groups of a specific color at the same time? I am trying to make all the white background components grey (color 254).

2

You can probably loop the list returned by getcompletion('','highlight') and get the background with synIDattr(synIDtrans(hlID(l:thislistitem)), "bg") (see :h hlID()).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.