File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,10 @@ contexts:
129
129
operator :
130
130
- match :
131
131
' ->|\|\||&&|\+\+|\*\*|\+\.|\+|-\.|-|\*\.|\*|/\.|/|\.\.\.|\.\.|\|===|==|\^|:=|!|>=(?! *\?)|<=|='
132
- scope : keyword.operator
132
+ # 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.
133
136
- match : ' \|>'
134
137
scope : invalid.deprecated
135
138
@@ -273,7 +276,7 @@ contexts:
273
276
1 : punctuation.section.braces.begin
274
277
push : moduleInner
275
278
- match : ' =[^\S]'
276
- scope : keyword.operator
279
+ scope : keyword.operator keyword
277
280
set : moduleRHS
278
281
- match : ' (?=\S)'
279
282
pop : true
You can’t perform that action at this time.
0 commit comments