Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom highlight groups #75

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

loganswartz
Copy link

This adds custom highlight groups for the hover window, and aliases them to the highlights used previously. With this patch, a user can create custom styles for the hover window that don't affect any other hover windows. With no customizations, it should look identical to before, with one exception: I switched the background of the source bar (HoverSourceLine) to use TabLine instead of Normal.

For the highlight names, I just picked what that felt right, but they could probably be improved. Additionally, HoverSourceLine could reasonably be FloatTitle, TabLine, or WinBar, but I picked TabLine since sources already use TabLineSel and TabLineFill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant