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

Merge AfterHighlight into autoload and remove plugin checks. #9

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

Conversation

pynappo
Copy link

@pynappo pynappo commented Aug 31, 2023

Most colorschemes set plugin-specific highlights regardless of whether the plugins are loaded. Also, from my understanding, using after/plugin here is unnecessary - well-written plugins won't override colorscheme colors.

I have moved and modified the code from AfterHighlight() into autoload/hardhacker.vim to adopt the same convention as other colorschemes.

This is meant to fix #8. Let me know if this breaks anything, thanks.

People will lazy-load plugins so the luaeval checks may return a
misleading result.
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.

Plugin-specific colors are overridden
1 participant