-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't trigger emoji replacement prematurely
... and support all emoji ASCII aliases - previously we used to trigger the emoji replacement immediately which led to various bugs like being unable to get the `:beers:` emoji ;) - we now trigger the emoji replacement after typing a certain sequence followed by a space and then check that word for a possible emoji match - as a result, we now fully support ASCII aliases, not only those having a length of 2 (e.g. `:D`) but all the longer ones, like `O_O`, `:-#` or even `-___-`
- Loading branch information
Showing
1 changed file
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters