mirror of
https://github.com/vim-python/python-syntax.git
synced 2026-09-30 23:52:27 +08:00
1 parent
44f1855902
commit
4d925a99dd
1 file changed
+5
@@ -174,6 +174,11 @@ else
|
|||||||
syn match pythonStatement "\<yield\s\+from\>" display
|
syn match pythonStatement "\<yield\s\+from\>" display
|
||||||
syn keyword pythonBoolean True False
|
syn keyword pythonBoolean True False
|
||||||
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
|
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
|
||||||
|
syn keyword pythonStatement await
|
||||||
|
syn match pythonStatement "\<async\s\+def\>" display
|
||||||
|
syn match pythonStatement "\<async\s\+with\>" display
|
||||||
|
syn match pythonStatement "\<async\s\+for\>" display
|
||||||
|
syn match pythonStatement "\<async\s\+with\>" display
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in new issue
Block a user