Breaking change: Change in wilder#wildmenu_renderer() components API
#115 refactored wilder#wildmenu_renderer() components to use the same wilder-renderer-highlight-chunk API as wilder#popupmenu_renderer().
This means custom components you may have written might not work anymore. Previously, you could write a component as a dict:
{'value': 'Foo', 'hl': 'Search'}
or you could nest components within other lists/dicts:
[{'value': 'Nested component'}, ['String in nested list']]
This is no longer supported.
The new API instead takes a list of 3-element lists known as chunks. Each chunk has the format of
['value', 'default hl', 'selected hl']
where each chunk describes the value to draw and the highlight groups to apply.
Hence {'value': 'Foo', 'hl': 'Search'} would now instead be ['value', 'Search'], and [{'value': 'Nested component'}, ['String in nested list']] would instead be ['Nested component'] and ['String in nested list'] separately.
Huge apologies for the breaking change - this is last major change I was planning and will make refactorings and new features much easier in the future.
If you require any help with migrating to the new API, please post your config below and I will do my best to provide the updated config!