File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 75
75
syn keyword pythonStatement yield
76
76
syn keyword pythonLambdaExpr lambda
77
77
syn keyword pythonStatement with as
78
+ syn keyword pythonStatement await
78
79
79
80
syn keyword pythonStatement def nextgroup =pythonFunction skipwhite
81
+ syn match pythonStatement " \< async\s\+ def\> " nextgroup =pythonFunction skipwhite
82
+ syn match pythonStatement " \< async\s\+ with\> " display
83
+ syn match pythonStatement " \< async\s\+ for\> " nextgroup =pythonRepeat skipwhite
80
84
syn match pythonFunction " \% (\% (def\s\| @\)\s *\)\@ <=\h\% (\w\|\.\) *" contained nextgroup =pythonVars
81
85
syn region pythonVars start =" (" skip =+ \( ".*"\| '.*'\) + end =" )" contained contains =pythonParameters transparent keepend
82
86
syn match pythonParameters " [^,]*" contained contains =pythonParam skipwhite
You can’t perform that action at this time.
0 commit comments