-
Notifications
You must be signed in to change notification settings - Fork 7
Replace emoji not completed with company #7
Comments
It's a good idea, but is it possible from within company? Or would there have to be some external change hook after each keypress? |
(Also, sorry for not replying sooner! This got buried in my notifications.) |
My suggestion is to use abbrev (builtin to emacs). However, that might be out of the scope of this package... |
Ha, as you might have guessed I didn't understand how abbrev worked. It might be out of scope, but I'll take a look! |
Alternatively (well, additionally), it would be nice to split the emoji database into separate package (so that someone else could write, e.g., |
Oh, that's a good idea. I'll try to get to it this week. |
I split the list into a separate file with ea0af0c, but I haven't made it a separate package yet. |
Thanks! |
Currently, if you write out an emoji code but don't end up using company to complete it, it won't be converted to a unicode emoji. It would be nice if company-emoji could, e.g., populate an abbrev table with mappings of emoji short codes to emoji unicode symbols so that this could happen.
Note: I'm not suggesting that company-emoji do a search-and-replace on the document, just replace emoji as they're typed.
The text was updated successfully, but these errors were encountered: