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

Commit eedb1dc

Browse files
authored
Start trying to make ?. work
1 parent ea7f122 commit eedb1dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

grammars/javascript.cson

+5-2
Original file line numberDiff line numberDiff line change
@@ -1194,10 +1194,13 @@
11941194
'name': 'meta.delimiter.object.comma.js'
11951195
}
11961196
{
1197-
# Optional chaining operator
1198-
'match': '\\?\\.|\\.'
1197+
'match': '\\.'
11991198
'name': 'meta.delimiter.method.js'
12001199
}
1200+
{
1201+
'match': '\\?\\.'
1202+
'name': 'meta.delimiter.method.optional.js
1203+
}
12011204
{
12021205
# Allows the special return snippet to fire.
12031206
'match': '({)(})'

0 commit comments

Comments
 (0)