From ebcb1ba1e7ef9ccad86e0a7138da56ae1be59f2a Mon Sep 17 00:00:00 2001 From: Michael Doronin Date: Tue, 5 Jul 2016 13:30:04 +0300 Subject: [PATCH] object is highlighlted as a type not as a function --- syntax/python.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/python.vim b/syntax/python.vim index c2b5484..d0a4ff4 100644 --- a/syntax/python.vim +++ b/syntax/python.vim @@ -423,7 +423,7 @@ if s:Enabled("g:python_highlight_builtin_objs") syn keyword pythonBuiltinObj None syn keyword pythonBoolean True False syn keyword pythonBuiltinObj Ellipsis NotImplemented - syn match pythonBuiltinObj '\v(\.)@' + syn match pythonBuiltinObj '\v(\.)@' syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__ syn keyword pythonBuiltinObj __loader__ __spec__ __path__ __cached__ endif @@ -451,7 +451,7 @@ if s:Enabled("g:python_highlight_builtin_funcs") syn match pythonBuiltinFunc '\v(\.)@\ze\(' syn match pythonBuiltinFunc '\v(\.)@\ze\(' syn match pythonBuiltinFunc '\v(\.)@\ze\(' - syn match pythonBuiltinFunc '\v(\.)@\ze\(' + syn match pythonBuiltinFunc '\v(\.)@\ze\(' syn match pythonBuiltinFunc '\v(\.)@\ze\(' syn match pythonBuiltinFunc '\v(\.)@\ze\(' syn match pythonBuiltinFunc '\v(\.)@\ze\('