Skip to content

Commit 2a9c1dd

Browse files
committed
Simplify = token matching
1 parent 1f6a540 commit 2a9c1dd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

grammars/rescript.tmLanguage.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,7 @@
201201
{
202202
"match": "->|\\|\\||&&|\\+\\+|\\*\\*|\\+\\.|\\+|-\\.|-|\\*\\.|\\*|/\\.|/|\\.\\.\\.|\\.\\.|\\|>|===|==|\\^|:=|!|>=(?! *\\?)|<=",
203203
"name": "keyword.operator"
204-
}
205-
]
206-
},
207-
"assignment": {
208-
"patterns": [
204+
},
209205
{
210206
"match": "=",
211207
"name": "keyword.operator.assignment"
@@ -462,9 +458,6 @@
462458
{
463459
"include": "#operator"
464460
},
465-
{
466-
"include": "#assignment"
467-
},
468461
{
469462
"include": "#number"
470463
},

0 commit comments

Comments
 (0)