Skip to content

Commit 738e118

Browse files
committed
support for async keyword
1 parent af6a827 commit 738e118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ else
180180
syn match pythonStatement "\<yield\s\+from\>" display
181181
syn keyword pythonBuiltinObj None True False
182182
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
183-
syn keyword pythonStatement await
183+
syn keyword pythonStatement await async
184184
syn match pythonStatement "\<async\s\+def\>" nextgroup=pythonFunction skipwhite
185185
syn match pythonStatement "\<async\s\+with\>" display
186186
syn match pythonStatement "\<async\s\+for\>" display

0 commit comments

Comments
 (0)