mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-08 21:54:48 +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\>'
|
syn match pythonStatement '\<async\s\+for\>'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syn region FunctionParameters start='(' end=')' display contains=
|
syn region FunctionParameters start='(\zs' end='\ze)' display contains=
|
||||||
\ FunctionParameters,
|
\ FunctionParameters,
|
||||||
\ OptionalParameters,
|
\ OptionalParameters,
|
||||||
\ pythonRepeat,
|
\ pythonRepeat,
|
||||||
|
|||||||
Reference in New Issue
Block a user