File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ contexts:
314
314
- match : while(?!\s*:)\b
315
315
scope : keyword.control.loop.while.coffee
316
316
# flow
317
- - match : (?:break|continue|return|throw|yield(?:\s+from)?)(?!\s*:)\b
317
+ - match : (?:await| break|continue|return|throw|yield(?:\s+from)?)(?!\s*:)\b
318
318
scope : keyword.control.flow.coffee
319
319
# other
320
320
- match : (?:debugger\b|\\)
Original file line number Diff line number Diff line change @@ -236,6 +236,11 @@ class App.Router extends Snakeskin.Router
236
236
# ^^^^^^^^^^ keyword.control.flow.coffee
237
237
# ^^^^ variable.other.readwrite.instance.coffee
238
238
239
+ await return @foo ;
240
+ # ^^^^^ keyword.control.flow.coffee
241
+ # ^^^^^^ keyword.control.flow.coffee
242
+ # ^^^^ variable.other.readwrite.instance.coffee
243
+
239
244
### [ OPERATORS ]### # ###########################################################
240
245
241
246
as
You can’t perform that action at this time.
0 commit comments