Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new emojis (query only) #4

Open
rodhash opened this issue Jun 8, 2022 · 2 comments
Open

Add new emojis (query only) #4

rodhash opened this issue Jun 8, 2022 · 2 comments

Comments

@rodhash
Copy link

rodhash commented Jun 8, 2022

Hi

Wondering if there's new emojis being added? Or plans to add new ones?

I'm manually adding some emojis that I personally use/like but was wondering whether we have anything in progress related to that so I don't work on repeated stuff .. I mean, duplicating work.

Also is there any automated way of adding new ones? For instance reading a font file and importing the icons? Or it's manually as I'm doing?

This is not actually an issue but couldn't find much info out there so submitting this issue / query.

Thanks

@rodhash
Copy link
Author

rodhash commented Jun 9, 2022

having a second thought probably the font thing can't be done, we have to provide a sort of description for each of them, right .. not sure but I don't think the font would provide that

@jthvai
Copy link

jthvai commented Feb 15, 2024

It should be possible to scrape symbl.cc for the emoji block and programmatically generate descriptions based on that information. Even better if they have a public API. This plugin itself seems to have mechanisms to update the emoji list - it gets them from iamcal/emoji-data! It just seems that the JSON hasn't been updated in a while.


Edit:

The code in update.lua doesn't seem to be hooked in anywhere, so I was mistaken.

Nonetheless, you could add curl -L https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json -o lua/cmp_emoji/emoji.json as a build command to update the JSON file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants