mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-07 13:14:36 +08:00
pythonRepeat can be highlighted inside FunctionParameters group
This commit is contained in:
@@ -193,6 +193,7 @@ syn region FunctionParameters start='(' end=')' contains=
|
||||
\ pythonInstanceVariable,
|
||||
\ pythonHexNumber,
|
||||
\ pythonStatement,
|
||||
\ pythonRepeat,
|
||||
\ pythonOctNumber,
|
||||
\ pythonString,
|
||||
\ pythonUniString,
|
||||
@@ -451,7 +452,7 @@ if s:Enabled("g:python_highlight_builtin_funcs")
|
||||
syn match pythonBuiltinFunc '\v(\.)@<!\zs<(pow|property|range)>\ze\('
|
||||
syn match pythonBuiltinFunc '\v(\.)@<!\zs<(repr|reversed|round|setattr)>\ze\('
|
||||
syn match pythonBuiltinFunc '\v(\.)@<!\zs<(slice|sorted|staticmethod|sum|super)>\ze\('
|
||||
syn match pythonBuiltinFunc '\v(\.)@<!\zs<(type|vars|zip)>/ze\('
|
||||
syn match pythonBuiltinFunc '\v(\.)@<!\zs<(type|vars|zip)>\ze\('
|
||||
endif
|
||||
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user