소스 검색

Merge a0d21acc1c557c4b01c686f30ae63474adcceb49 into ebbdd093b73156485a3c4adf3fdbc9261bb092c5

Yuri Habrusiev 10 년 전
부모
커밋
fd283f84b5
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      syntax/python.vim

+ 4
- 1
syntax/python.vim 파일 보기

@@ -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