Browse Source

Merge a0d21acc1c557c4b01c686f30ae63474adcceb49 into ebbdd093b73156485a3c4adf3fdbc9261bb092c5

Yuri Habrusiev 10 years ago
parent
commit
fd283f84b5
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      syntax/python.vim

+ 4
- 1
syntax/python.vim View File

159
   syn keyword pythonPreCondit   as
159
   syn keyword pythonPreCondit   as
160
   syn match   pythonFunction    "[a-zA-Z_][a-zA-Z0-9_]*" display contained
160
   syn match   pythonFunction    "[a-zA-Z_][a-zA-Z0-9_]*" display contained
161
 else
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
   syn match   pythonFunction    "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
164
   syn match   pythonFunction    "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
164
 endif
165
 endif
165
 
166
 
523
   HiLink pythonHexError         Error
524
   HiLink pythonHexError         Error
524
   HiLink pythonBinError         Error
525
   HiLink pythonBinError         Error
525
 
526
 
527
+  HiLink pythonBoolean          Boolean
528
+
526
   HiLink pythonBuiltinObj       Structure
529
   HiLink pythonBuiltinObj       Structure
527
   HiLink pythonBuiltinFunc      Function
530
   HiLink pythonBuiltinFunc      Function
528
 
531