-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
telescope results line color / highlight #3117
Comments
There technically is a But this is pretty low priority for me personally. If someone wants to have a go at it, I'd be willing to offer some help. |
@jamestrew, do you mean this piece of code?: |
@MovieMaker93 that's right. telescope.nvim/lua/telescope/make_entry.lua Lines 925 to 932 in 5665d93
We could technically make current_buffer_fuzzy_find and other pickers using entry_display take a separator_hl option but I feel like just adding a new hl group, something like TelescopeResultsSeparator would be a cleaner way.
|
Thanks for the answer. I'm trying to understand how the highlighters work for the pickers, but I haven't fully grasped it yet. telescope.nvim/lua/telescope/pickers.lua Lines 73 to 84 in 5665d93
and as default here: telescope.nvim/plugin/telescope.lua Lines 18 to 22 in 5665d93
However, I don't know where to specify this hlgroup option. I didn't understand where the popup_opts has been defined or how to define the new hlgroup besides the one place specified above. Could you guide me further on how to do it? |
On second thought, maybe
I think you could just do something like configuration.separator_hl = vim.F.if_nil(configuration.separator_hl, "TelescopeResultsEntrySeparator") at the top of the telescope.nvim/lua/telescope/pickers.lua Lines 1264 to 1300 in c2ce039
The |
Is your feature request related to a problem? Please describe.
The ability to change the color of the line next to the line numbers (the red one in the screenshot) without effecting the normal text.
Describe the solution you'd like
A new highlight group to change the color.
Describe alternatives you've considered
I changed
TelescopeResultsNormal
, but that also affects other text.Additional context
The text was updated successfully, but these errors were encountered: