0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00
This commit is contained in:
Trevor Buckner
2024-05-07 15:35:00 -04:00
parent 41d817823b
commit d49d9fd755

View File

@@ -66,7 +66,7 @@ const showAutocompleteEmoji = function(CodeMirror, editor) {
const curlyToCursor = textToCursor.slice(textToCursor.indexOf(`{`));
const curlySpanRegex = /{(?=((?:[:=](?:"[\w,\-()#%. ]*"|[\w\-()#%.]*)|[^"':={}\s]*)*))\1$/g;
if (regex.test(curlyToCursor))
if (curlySpanRegex.test(curlyToCursor))
return;
}