We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd3e82 commit 9848d2aCopy full SHA for 9848d2a
ReScript.sublime-syntax
@@ -129,7 +129,10 @@ contexts:
129
operator:
130
- match:
131
'->|\|\||&&|\+\+|\*\*|\+\.|\+|-\.|-|\*\.|\*|/\.|/|\.\.\.|\.\.|\|===|==|\^|:=|!|>=(?! *\?)|<=|='
132
- scope: keyword.operator
+ # gotta add `keyword` to this scope. This file is synced with our vscode
133
+ # textmate grammar too, and many themes there don't highlight
134
+ # `keyword.operator`. So we'll highlight them as `keyword`
135
+ scope: keyword.operator keyword.
136
- match: '\|>'
137
scope: invalid.deprecated
138
@@ -273,7 +276,7 @@ contexts:
273
276
1: punctuation.section.braces.begin
274
277
push: moduleInner
275
278
- match: '=[^\S]'
279
+ scope: keyword.operator keyword
280
set: moduleRHS
281
- match: '(?=\S)'
282
pop: true
0 commit comments