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

Set scope highlight by ibl.setup_buffer #929

Open
ofseed opened this issue Oct 5, 2024 · 1 comment
Open

Set scope highlight by ibl.setup_buffer #929

ofseed opened this issue Oct 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ofseed
Copy link

ofseed commented Oct 5, 2024

Problem

rainbow-delimiters could be disabled for specific buffers, it would be better if indent-blankine's scope highlight is buffer-scoped so that we can only apply rainbow-delimiters' highlights to the buffers it enabled, and keep IblScope in the buffer rainbow-delimiters does not enabled.

Expected behavior

scope highlight is buffer-scoped and could be set by ibl.setup_buffer

@ofseed ofseed added the enhancement New feature or request label Oct 5, 2024
@lukas-reineke
Copy link
Owner

While it would be possible with namespaced highlight groups, this would be quite complicated to implement, I think.

I'm not against merging a PR, but I don't think I will work on this myself.

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

No branches or pull requests

2 participants