pythonRepeat can be highlighted inside FunctionParameters group

This commit is contained in:
Michael Doronin
2016-06-29 11:51:28 +03:00
parent d404efb776
commit cf46b81e13

View File

@@ -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
" "