Skip to content

Commit 4fa2577

Browse files
authored
Add '{' to htmlAbbreviationStartRegex (#45)
1 parent ee3480d commit 4fa2577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emmetHelper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export { FileService, FileType, FileStat }
3131
const snippetKeyCache = new Map<string, string[]>();
3232
let markupSnippetKeys: string[];
3333
const stylesheetCustomSnippetsKeyCache = new Map<string, string[]>();
34-
const htmlAbbreviationStartRegex = /^[a-z,A-Z,!,(,[,#,\.]/;
34+
const htmlAbbreviationStartRegex = /^[a-z,A-Z,!,(,[,#,\.\{]/;
3535
const cssAbbreviationRegex = /^-?[a-z,A-Z,!,@,#]/;
3636
const htmlAbbreviationRegex = /[a-z,A-Z\.]/;
3737
const commonlyUsedTags = [...htmlData.tags, 'lorem'];

0 commit comments

Comments
 (0)