Skip to content

Commit 3489d85

Browse files
committed
Fix >=? misdetected as operator
Solves part of #35
1 parent b0228ce commit 3489d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/rescript.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"operator": {
195195
"patterns": [
196196
{
197-
"match": "->|\\|\\||&&|\\+\\+|\\*\\*|\\+\\.|\\+|-\\.|-|\\*\\.|\\*|/\\.|/|\\.\\.\\.|\\.\\.|\\|>|===|==|\\^|:=|!|>=|<=",
197+
"match": "->|\\|\\||&&|\\+\\+|\\*\\*|\\+\\.|\\+|-\\.|-|\\*\\.|\\*|/\\.|/|\\.\\.\\.|\\.\\.|\\|>|===|==|\\^|:=|!|>=(?! *\\?)|<=",
198198
"name": "keyword.operator"
199199
}
200200
]

0 commit comments

Comments
 (0)