8000 Merge branch 'develop' of github.com:klen/python-mode into develop · python-mode/python-mode@1479d82 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1479d82

Browse files
committed
Merge branch 'develop' of github.com:klen/python-mode into develop
2 parents fa16097 + 8d392ea commit 1479d82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/pymode.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ Highlight docstrings as pythonDocstring (otherwise as pythonString)
623623
Python-mode doesn't work
624624
------------------------
625625

626-
Open any python file and run ":call pymode#troubleshooting#Test()",
626+
Open any python file and run ":call pymode#troubleshooting#test()",
627627
fix the warning or send me the output.
628628

629629

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 region pythonVars start="(" skip=+\(".*"\|'.*'\)+ end=")" 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