Closed JeanMertz closed 8 months ago
The gen_integration.builtin_search()
takes a table map of highlight groups, in the same way as other entries of gen_integration
.
Replacing this line:
local search_integration = map.gen_integration.builtin_search('IncSearch')
... with this line:
local search_integration = map.gen_integration.builtin_search({ search = 'IncSearch' })
... should make it work.
Ah, so sorry, I totally missed that. Thank you for the prompt reply.
Contributing guidelines
Module(s)
mini.map
Description
Highlighting for
builtin_search
does not seem to work. The other highlight I use (git
) does work.I can see the integration number change when searching if I set
window.show_integration_count
and search for a word that is repeated multiple times in close proximity.Here is my config:
And here is
:hi IncSearch
(it has an orange fg, so it should be visible):Neovim version
0.9.4
Steps to reproduce
nvim -nu minimal.lua
Expected behavior
No response
Actual behavior
Minimap coloring does not change for found highlights, but
window.show_integration_count
does change when expected.