From 51f3be4ec0a9b123e21a8709fc4b371fcac67cb3 Mon Sep 17 00:00:00 2001 From: nfnty Date: Tue, 21 Feb 2017 16:36:47 +0100 Subject: [PATCH] syntax: `(\.)@ `\.@' + syn match pythonStatement '\v\.@' syn match pythonFunction '[a-zA-Z_][a-zA-Z0-9_]*' nextgroup=FunctionParameters display contained syn match pythonStatement '\' nextgroup=pythonFunction skipwhite syn match pythonStatement '\' @@ -358,7 +358,7 @@ if s:Enabled('g:python_highlight_builtin_objs') syn keyword pythonNone None syn keyword pythonBoolean True False syn keyword pythonBuiltinObj Ellipsis NotImplemented - syn match pythonBuiltinObj '\v(\.)@' nextgroup=FunctionParameters + syn match pythonBuiltinObj '\v\.@' nextgroup=FunctionParameters syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__ syn keyword pythonBuiltinObj __loader__ __spec__ __path__ __cached__ endif @@ -369,27 +369,27 @@ endif if s:Enabled('g:python_highlight_builtin_funcs') if s:Python2Syntax() - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters if s:Enabled('g:python_print_as_function') - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters endif else - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters endif - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters - syn match pythonBuiltinFunc '\v(\.)@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters + syn match pythonBuiltinFunc '\v\.@\ze\(' nextgroup=FunctionParameters endif " @@ -398,36 +398,36 @@ endif if s:Enabled('g:python_highlight_exceptions') if s:Python2Syntax() - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters else - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters endif - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters - syn match pythonExClass '\v(\.)@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters + syn match pythonExClass '\v\.@' nextgroup=FunctionParameters endif if s:Enabled('g:python_slow_sync')