0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-07 18:48:39 +00:00

emoji autocomplete not trigger with just colons

This commit is contained in:
Víctor Losada Hernández
2026-04-13 14:47:13 +02:00
parent de77de84d9
commit 1984143c82
@@ -13,7 +13,7 @@ const emojis = {
};
const emojiCompletionList = (context)=>{
const word = context.matchBefore(/:[^\s:]*/);
const word = context.matchBefore(/:[^\s:]+/);
if(!word) return null;
const line = context.state.doc.lineAt(context.pos);