Skip to content

Commit 3ef357e

Browse files
author
Michael Doronin
committed
keyword arguments highlighted inside of builtin object constructors
1 parent bbed018 commit 3ef357e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ if s:Enabled("g:python_highlight_builtin_objs")
431431
syn keyword pythonBuiltinObj None
432432
syn keyword pythonBoolean True False
433433
syn keyword pythonBuiltinObj Ellipsis NotImplemented
434-
syn match pythonBuiltinObj '\v(\.)@<!<(object|bool|int|float|tuple|str|list|dict|set|frozenset|bytearray|bytes)>'
434+
syn match pythonBuiltinObj '\v(\.)@<!<(object|bool|int|float|tuple|str|list|dict|set|frozenset|bytearray|bytes)>' nextgroup=FunctionParameters
435435
syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__
436436
syn keyword pythonBuiltinObj __loader__ __spec__ __path__ __cached__
437437
endif

0 commit comments

Comments
 (0)