Open dustinlacewell opened 5 years ago
Why are you using dyanmic-collection
in the first place? your code doesn't seem to call any external process.
If you look at the first function, it is dynamically building a list of results by composing several smaller lists together, in effect grouping and prioritizing some results over others based on the search. It isn't just filtering a known set of alphabetically sorted entries by the search input.
How you want to handle this is to pass all the candidates at once, then define a :matcher
and :sort
functions that do any special handling. You don’t need a dynamic collection.
@dustinlacewell Please post the extra config (packages to install, etc) in order for me to reproduce this.
With the following snippet in play, the match highlight face is not updating properly in this dictionary I'm working on:
The behavior can be seen in the following video where the highlight is stuck on "apple":
https://youtu.be/1svrfPF0sus