mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-07 21:24:52 +08:00
syntax: FunctionParameters: Don't include the parentheses in the match
Fixes problem with Rainbow parentheses
This commit is contained in:
@@ -98,7 +98,7 @@ else
|
||||
syn match pythonStatement '\<async\s\+for\>'
|
||||
endif
|
||||
|
||||
syn region FunctionParameters start='(' end=')' display contains=
|
||||
syn region FunctionParameters start='(\zs' end='\ze)' display contains=
|
||||
\ FunctionParameters,
|
||||
\ OptionalParameters,
|
||||
\ pythonRepeat,
|
||||
|
||||
Reference in New Issue
Block a user