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