Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d392ea

Browse files
committed
Merge pull requestpython-mode#402 from lodagro/patch-3
fixpython-mode#385 (syntax highlighting failure)
2 parentseb9cb47 +20e14aa commit8d392ea

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
synkeywordpythonStatement defnextgroup=pythonFunctionskipwhite
8080
synmatchpythonFunction"\%(\%(def\s\|@\)\s*\)\@<=\h\%(\w\|\.\)*"containednextgroup=pythonVars
81-
synregionpythonVarsstart="("end=")"containedcontains=pythonParameterstransparentkeepend
81+
synregionpythonVarsstart="("skip=+\(".*"\|'.*'\)+end=")"containedcontains=pythonParameterstransparentkeepend
8282
synmatchpythonParameters"[^,]*"containedcontains=pythonParamskipwhite
8383
synmatchpythonParam"[^,]*"containedcontains=pythonExtraOperator,pythonLambdaExpr,pythonBuiltinObj,pythonBuiltinType,pythonConstant,pythonString,pythonNumber,pythonBrackets,pythonSelfskipwhite
8484
synmatchpythonBrackets"{[(|)]}"containedskipwhite

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp