Skip to content

Commit d0e2581

Browse files
author
Enrico Granata
committed
Remove OBJECT_WRITE token as it may conflict with code blocks
1 parent ee5db57 commit d0e2581

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

assets/js/aria.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@ export default function (hljs) {
125125
relevance: 0
126126
};
127127

128-
const OBJECT_WRITE = {
129-
begin: /\{/, end: /\}/,
130-
contains: [LINE_COMMENT, DQ_STRING, SQ_STRING, INDEXING],
131-
relevance: 0
132-
};
133-
134128
const IMPORTS = {
135129
begin: /\bimport\b/, end: /;/,
136130
keywords: KEYWORDS,
@@ -158,7 +152,7 @@ export default function (hljs) {
158152
TYPE_LIKE_DEF, EXTENSION_DEF,
159153
ENUM_CASE_DECL, ENUM_CASE_USE,
160154
LAMBDA_HEAD, TRY_PROTOCOL, ASSIGN_OP,
161-
INDEXING, OBJECT_WRITE,
155+
INDEXING,
162156
IMPORTS
163157
]
164158
};

0 commit comments

Comments
 (0)