We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebbdd09 commit a0d21acCopy full SHA for a0d21ac
1 file changed
syntax/python.vim
@@ -159,7 +159,8 @@ if s:Python2Syntax()
159
syn keyword pythonPreCondit as
160
syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" display contained
161
else
162
- syn keyword pythonStatement as nonlocal False None True
+ syn keyword pythonStatement as nonlocal
163
+ syn keyword pythonBoolean True False None
164
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
165
endif
166
@@ -523,6 +524,8 @@ if version >= 508 || !exists("did_python_syn_inits")
523
524
HiLink pythonHexError Error
525
HiLink pythonBinError Error
526
527
+ HiLink pythonBoolean Boolean
528
+
529
HiLink pythonBuiltinObj Structure
530
HiLink pythonBuiltinFunc Function
531
0 commit comments