mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-10 06:31:52 +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,
|
\ pythonInstanceVariable,
|
||||||
\ pythonHexNumber,
|
\ pythonHexNumber,
|
||||||
\ pythonStatement,
|
\ pythonStatement,
|
||||||
|
\ pythonRepeat,
|
||||||
\ pythonOctNumber,
|
\ pythonOctNumber,
|
||||||
\ pythonString,
|
\ pythonString,
|
||||||
\ pythonUniString,
|
\ 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<(pow|property|range)>\ze\('
|
||||||
syn match pythonBuiltinFunc '\v(\.)@<!\zs<(repr|reversed|round|setattr)>\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<(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
|
endif
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user