Explorar el Código

Merge a0d21acc1c557c4b01c686f30ae63474adcceb49 into ebbdd093b73156485a3c4adf3fdbc9261bb092c5

Yuri Habrusiev hace 11 años
padre
commit
fd283f84b5
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4
    1
      syntax/python.vim

+ 4
- 1
syntax/python.vim Ver fichero

@@ -159,7 +159,8 @@ if s:Python2Syntax()
159 159
   syn keyword pythonPreCondit   as
160 160
   syn match   pythonFunction    "[a-zA-Z_][a-zA-Z0-9_]*" display contained
161 161
 else
162
-  syn keyword pythonStatement   as nonlocal False None True
162
+  syn keyword pythonStatement   as nonlocal
163
+  syn keyword pythonBoolean     True False None
163 164
   syn match   pythonFunction    "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
164 165
 endif
165 166
 
@@ -523,6 +524,8 @@ if version >= 508 || !exists("did_python_syn_inits")
523 524
   HiLink pythonHexError         Error
524 525
   HiLink pythonBinError         Error
525 526
 
527
+  HiLink pythonBoolean          Boolean
528
+
526 529
   HiLink pythonBuiltinObj       Structure
527 530
   HiLink pythonBuiltinFunc      Function
528 531