Skip to content

Commit 9767d4d

Browse files
committed
Highlight operators for default themes
The default themes don't highlight `keyword.operator`, so we're adding the catch-all `keyword` scope so that at least they'll be colored =/
1 parent e832dc6 commit 9767d4d

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
@@ -200,7 +200,7 @@
200200
"patterns": [
201201
{
202202
"match": "->|\\|\\||&&|\\+\\+|\\*\\*|\\+\\.|\\+|-\\.|-|\\*\\.|\\*|/\\.|/|\\.\\.\\.|\\.\\.|===|==|\\^|:=|!|>=(?! *\\?)|<=|=",
203-
"name": "keyword.operator"
203+
"name": "keyword.operator keyword"
204204
},
205205
{
206206
"match": "\\|>",

0 commit comments

Comments
 (0)