Open scoopandrun opened 3 years ago
Hi there,
Thank you for working on this. I think this should be a usage example, not part of the API surface. Hopefully the existing parameters allow for implementing this that way.
Later down the line we should have plugins, and this could be a plugin.
Description
Added the possibility to ignore characters with diacritics. When the user inputs a string, it should match with the items in the list whether or not the input or the items have accented characters.
Fixes #17187 Fixes #17234
Type of changes
This PR introduces a new option Awesomplete.ignoreDiacritics (boolean, default true). When set to true, it allows matching accented characters against non-accented characters. When set to false, it requires characters to be the same to match.
This is an implementation of David Calhoun's blog post.