We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d2c07 commit e4d992dCopy full SHA for e4d992d
syntax/python.vim
@@ -176,7 +176,7 @@ else
176
syn keyword pythonBoolean True False
177
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
178
syn keyword pythonStatement await
179
- syn match pythonStatement "\<async\s\+def\>" display
+ syn match pythonStatement "\<async\s\+def\>" nextgroup=pythonFunction skipwhite
180
syn match pythonStatement "\<async\s\+with\>" display
181
syn match pythonStatement "\<async\s\+for\>" display
182
0 commit comments