@@ -442,27 +442,27 @@ endif
442442
443443if s: Enabled (" g:python_highlight_builtin_funcs" )
444444 if s: Python2Syntax ()
445- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(apply|basestring|buffer|callable|coerce)>\z e\( '
446- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(execfile|file|help|intern|long|raw_input)>\z e\( '
447- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(reduce|reload|unichr|unicode|xrange)>\z e\( '
445+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(apply|basestring|buffer|callable|coerce)>\z e\( ' nextgroup = FunctionParameters
446+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(execfile|file|help|intern|long|raw_input)>\z e\( ' nextgroup = FunctionParameters
447+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(reduce|reload|unichr|unicode|xrange)>\z e\( ' nextgroup = FunctionParameters
448448 if s: Enabled (" g:python_print_as_function" )
449- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(print)>\z e\( '
449+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(print)>\z e\( ' nextgroup = FunctionParameters
450450 endif
451451 else
452- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(ascii|exec|memoryview|print)>\z e\( '
452+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(ascii|exec|memoryview|print)>\z e\( ' nextgroup = FunctionParameters
453453 endif
454- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(__import__|abs|all|any)>\z e\( '
455- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(bin|chr|classmethod|cmp|compile|complex)>\z e\( '
456- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(delattr|dir|divmod|enumerate|eval)>\z e\( '
457- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(filter|format|getattr)>\z e\( '
458- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(globals|hasattr|hash|hex|id)>\z e\( '
459- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(input|isinstance)>\z e\( '
460- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(issubclass|iter|len|locals|map|max)>\z e\( '
461- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(min|next|oct|open|ord)>\z e\( '
462- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(pow|property|range)>\z e\( '
463- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(repr|reversed|round|setattr)>\z e\( '
464- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(slice|sorted|staticmethod|sum|super)>\z e\( '
465- syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(type|vars|zip)>\z e\( '
454+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(__import__|abs|all|any)>\z e\( ' nextgroup = FunctionParameters
455+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(bin|chr|classmethod|cmp|compile|complex)>\z e\( ' nextgroup = FunctionParameters
456+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(delattr|dir|divmod|enumerate|eval)>\z e\( ' nextgroup = FunctionParameters
457+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(filter|format|getattr)>\z e\( ' nextgroup = FunctionParameters
458+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(globals|hasattr|hash|hex|id)>\z e\( ' nextgroup = FunctionParameters
459+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(input|isinstance)>\z e\( ' nextgroup = FunctionParameters
460+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(issubclass|iter|len|locals|map|max)>\z e\( ' nextgroup = FunctionParameters
461+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(min|next|oct|open|ord)>\z e\( ' nextgroup = FunctionParameters
462+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(pow|property|range)>\z e\( ' nextgroup = FunctionParameters
463+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(repr|reversed|round|setattr)>\z e\( ' nextgroup = FunctionParameters
464+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(slice|sorted|staticmethod|sum|super)>\z e\( ' nextgroup = FunctionParameters
465+ syn match pythonBuiltinFunc ' \v (\. )@<!\z s<(type|vars|zip)>\z e\( ' nextgroup = FunctionParameters
466466endif
467467
468468"
0 commit comments