mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 15:12:40 +00:00
typo
This commit is contained in:
@@ -66,7 +66,7 @@ const showAutocompleteEmoji = function(CodeMirror, editor) {
|
|||||||
const curlyToCursor = textToCursor.slice(textToCursor.indexOf(`{`));
|
const curlyToCursor = textToCursor.slice(textToCursor.indexOf(`{`));
|
||||||
const curlySpanRegex = /{(?=((?:[:=](?:"[\w,\-()#%. ]*"|[\w\-()#%.]*)|[^"':={}\s]*)*))\1$/g;
|
const curlySpanRegex = /{(?=((?:[:=](?:"[\w,\-()#%. ]*"|[\w\-()#%.]*)|[^"':={}\s]*)*))\1$/g;
|
||||||
|
|
||||||
if (regex.test(curlyToCursor))
|
if (curlySpanRegex.test(curlyToCursor))
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user