We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 76a15d8 + 1d1cb5b commit 8128c04Copy full SHA for 8128c04
examples/rescript-project/src/asyncAwait.res
@@ -0,0 +1,4 @@
1
+let greetUser = async (userId) => {
2
+ let name = await getUserName(. userId)
3
+ "Hello " ++ name ++ "!"
4
+}
syntax/rescript.vim
@@ -14,6 +14,7 @@ syntax keyword resKeyword if else switch when
14
syntax keyword resKeyword and as open include module in constraint import export
15
syntax keyword resKeyword for to downto while
16
syntax keyword resKeyword try catch exception assert
17
+syntax keyword resKeyword async await
18
19
" Types
20
syntax keyword resType bool int float char string unit
0 commit comments