Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 5afff48

Browse files
committed
🐛 Fix 'constructor' boundary
```js a = { constructorABC: {} }; ```
1 parent 61b5fa8 commit 5afff48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/javascript.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
]
417417
}
418418
{
419-
'begin': '(?=\\b(constructor)\\s*)'
419+
'begin': '(?=\\bconstructor\\b\\s*)'
420420
'end': '(?<=})'
421421
'patterns': [
422422
{

0 commit comments

Comments
 (0)