Skip to content

Commit 3c615fb

Browse files
committed
syntax: FunctionParameters: Don't include the parentheses in the match
Fixes problem with Rainbow parentheses
1 parent b9b0a78 commit 3c615fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ else
9898
syn match pythonStatement '\<async\s\+for\>'
9999
endif
100100

101-
syn region FunctionParameters start='(' end=')' display contains=
101+
syn region FunctionParameters start='(\zs' end='\ze)' display contains=
102102
\ FunctionParameters,
103103
\ OptionalParameters,
104104
\ pythonRepeat,

0 commit comments

Comments
 (0)