From e50ba664b37d13b093214965d2e50c0867d89fa2 Mon Sep 17 00:00:00 2001 From: Emilio Srougo Date: Sun, 26 May 2024 19:44:12 -0600 Subject: [PATCH] Move async/await to coroutine --- queries/rescript/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/queries/rescript/highlights.scm b/queries/rescript/highlights.scm index d18344d..febda7d 100644 --- a/queries/rescript/highlights.scm +++ b/queries/rescript/highlights.scm @@ -171,7 +171,9 @@ "constraint" ] @keyword -((function "async" @keyword)) +(("await") @keyword.coroutine) + +((function "async" @keyword.coroutine)) (module_unpack "unpack" @keyword)