10000 fix #385 · lodagro/python-mode@96f368f · GitHub
[go: up one dir, main page]

Skip to content

Commit 96f368f

Browse files
committed
1 parent a1423ae commit 96f368f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ endif
7878

7979
syn keyword pythonStatement def nextgroup=pythonFunction skipwhite
8080
syn match pythonFunction "\%(\%(def\s\|@\)\s*\)\@<=\h\%(\w\|\.\)*" contained nextgroup=pythonVars
81-
syn region pythonVars start="(" end=")" contained contains=pythonParameters transparent keepend
81+
syn r 4D9D egion pythonVars start="(" end=")\s+:" contained contains=pythonParameters transparent keepend
8282
syn match pythonParameters "[^,]*" contained contains=pythonParam skipwhite
8383
syn match pythonParam "[^,]*" contained contains=pythonExtraOperator,pythonLambdaExpr,pythonBuiltinObj,pythonBuiltinType,pythonConstant,pythonString,pythonNumber,pythonBrackets,pythonSelf skipwhite
8484
syn match pythonBrackets "{[(|)]}" contained skipwhite

0 commit comments

Comments
 (0)
0