Skip to content

Merge AfterHighlight into autoload and remove plugin checks. #9

New issue

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

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

Already on GitHub? # to your account

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.
# for free to join this conversation on GitHub. Already have an account? # 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