chore: put _ and + behind -

Simply just to make it look a bit nicer
This commit is contained in:
Marie 2024-03-03 15:21:38 +00:00
parent 9318d6f003
commit b558dc21bb

View file

@ -626,7 +626,7 @@ export const language = P.createLanguage({
return P.seq([
P.alt([P.lineBegin, side]),
mark,
P.regexp(/[_+\p{N}\p{L}-]+/i),
P.regexp(/[\p{N}\p{L}_+-]+/i),
mark,
P.alt([P.lineEnd, side]),
], 2).map(name => M.EMOJI_CODE(name as string));