8000 Update python.vim · python-mode/python-mode@5bd60fa · GitHub
[go: up one dir, main page]

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)
0