Pārlūkot izejas kodu

support for async keyword

lilydjwg 8 gadus atpakaļ
vecāks
revīzija
738e118831
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      syntax/python.vim

+ 1
- 1
syntax/python.vim Parādīt failu

@@ -180,7 +180,7 @@ else
180 180
   syn match   pythonStatement   "\<yield\s\+from\>" display
181 181
   syn keyword pythonBuiltinObj  None True False
182 182
   syn match   pythonFunction    "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
183
-  syn keyword pythonStatement   await
183
+  syn keyword pythonStatement   await async
184 184
   syn match   pythonStatement   "\<async\s\+def\>" nextgroup=pythonFunction skipwhite
185 185
   syn match   pythonStatement   "\<async\s\+with\>" display
186 186
   syn match   pythonStatement   "\<async\s\+for\>" display