File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,8 @@ if s:Python2Syntax()
159159 syn keyword pythonPreCondit as
160160 syn match pythonFunction " [a-zA-Z_][a-zA-Z0-9_]*" display contained
161161else
162- syn keyword pythonStatement as nonlocal False None True
162+ syn keyword pythonStatement as nonlocal
163+ syn keyword pythonBoolean True False None
163164 syn match pythonFunction " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
164165endif
165166
@@ -523,6 +524,8 @@ if version >= 508 || !exists("did_python_syn_inits")
523524 HiLink pythonHexError Error
524525 HiLink pythonBinError Error
525526
527+ HiLink pythonBoolean Boolean
528+
526529 HiLink pythonBuiltinObj Structure
527530 HiLink pythonBuiltinFunc Function
528531
You can’t perform that action at this time.
0 commit comments