File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ syn region FunctionParameters start='(' end=')' display contains=
214214 \ pythonRawString,
215215 \ pythonBytes,
216216 \ pythonBuiltinObj,
217+ \ pythonNone,
217218 \ pythonBuiltinFunc,
218219 \ pythonBoolean nextgroup= pythonRaiseFromStatement display contained
219220syn match OptionalParameters / \i *\z e=/ display contained
@@ -430,7 +431,7 @@ syn match pythonFloat "\<\d\+\.\d*\%([eE][+-]\=\d\+\)\=[jJ]\=" display
430431"
431432
432433if s: Enabled (" g:python_highlight_builtin_objs" )
433- syn keyword pythonBuiltinObj None
434+ syn keyword pythonNone None
434435 syn keyword pythonBoolean True False
435436 syn keyword pythonBuiltinObj Ellipsis NotImplemented
436437 syn match pythonBuiltinObj ' \v (\. )@<!<(object|bool|int|float|tuple|str|list|dict|set|frozenset|bytearray|bytes)>' nextgroup =FunctionParameters
@@ -585,6 +586,7 @@ if version >= 508 || !exists("did_python_syn_inits")
585586 HiLink pythonBinError Error
586587
587588 HiLink pythonBoolean Boolean
589+ HiLink pythonNone Constant
588590
589591 HiLink pythonBuiltinObj Structure
590592 HiLink pythonBuiltinFunc Function
You can’t perform that action at this time.
0 commit comments