Upgrade emojibase and twemoji (#7286)

Co-authored-by: Tulir Asokan <tulir@maunium.net>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Šimon Brandner
2022-03-23 17:08:34 +00:00
committed by GitHub
co-authored by Tulir Asokan Michael Telatynski
parent 9961b003bb
commit 3534e9b6ce
9 changed files with 31 additions and 20 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export default class EmojiProvider extends AutocompleteProvider {
shouldMatchWordsOnly: false,
});
this.nameMatcher = new QueryMatcher(SORTED_EMOJI, {
keys: ['emoji.annotation'],
keys: ['emoji.label'],
// For removing punctuation
shouldMatchWordsOnly: true,
});