Skip to content

Commit 5bd60fa

Browse files
committed
Update python.vim
1 parent 4518992 commit 5bd60fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

syntax/python.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ endif
7878
syn keyword pythonStatement await
7979

8080
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
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
8484
syn match pythonFunction "\%(\%(def\s\|@\)\s*\)\@<=\h\%(\w\|\.\)*" contained nextgroup=pythonVars
8585
syn region pythonVars start="(" skip=+\(".*"\|'.*'\)+ end=")" contained contains=pythonParameters transparent keepend
8686
syn match pythonParameters "[^,]*" contained contains=pythonParam skipwhite

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy