-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Make scope show_start / show_end highlight based #754
Comments
The scope underline highlights are automatically generated. It's not super trivial to add support for a separate option for this. I'm not against merging a PR that adds this, but I don't think I will work on it. |
I was able to use the workaround, thanks. require('ibl').setup(opts)
vim.cmd.highlight('clear @ibl.scope.underline.1')
vim.cmd.highlight('link @ibl.scope.underline.1 MyHighlightGroup') For additional context, the underlines in my terminal / neovim setup follow the current text color. For individual terms this looks fine, but underlining an entire line looks bad. See screenshots below: |
There is some discussion about the underline color in #686 |
I was hoping it would work like in version 2 with highlight groups |
@lukas-reineke it works but if i set highlight group with my colorscheme which would happen before |
The |
oh, how do colorscheme plugins handle this then? most hlgroups load by default.. |
Setting a custom highlight group for scope start and end is not currently supported, that's why the issue is still open. It's a compromise between making the setup that most people want as easy as possible, and supporting full customization. Like I said, I'm not against adding support for this, if someone has a good idea how. Without compromising the simple setup. |
Problem
The scope start/end can only be configured as underline or off.
Expected behavior
It would be more flexible for theming to support a highlight group (which could include underline by default). Underline is not suitable for my personal taste, but I would still like to have distinct highlighting for the scope start.
This used to be possible in version 2:
The text was updated successfully, but these errors were encountered: