Skip to content

fix: clear highlights before loading colors #48

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cvanloo
Copy link

@cvanloo cvanloo commented Jun 22, 2025

Related issue: #47

If a user has custom highlights set up for other colorschemes, and then switches to badwolf, these highlights are not properly cleared.

This causes badwolf to be displayed incorrectly, e.g., like in the following screenshot:

Before

The issue is fixed by calling highlight clear before setting up the colors, which causes badwolf to be displayed properly:

After

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