瀏覽代碼

Merge cbf913eb5128643178fc7ae905816a669f9224ed into 69760cb3accce488cc072772ca918ac2cbf384ba

Lowe Thiderman 8 年之前
父節點
當前提交
4e51ae33f8
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      syntax/python.vim

+ 2
- 0
syntax/python.vim 查看文件

@@ -165,6 +165,7 @@ syn keyword pythonInclude       import
165 165
 syn keyword pythonImport        import
166 166
 syn keyword pythonException     try except finally
167 167
 syn keyword pythonOperator      and in is not or
168
+syn keyword pythonSelf          self
168 169
 
169 170
 syn match pythonStatement   "\<yield\>" display
170 171
 syn match pythonImport      "\<from\>" display
@@ -502,6 +503,7 @@ if version >= 508 || !exists("did_python_syn_inits")
502 503
   HiLink pythonRepeat           Repeat
503 504
   HiLink pythonException        Exception
504 505
   HiLink pythonOperator         Operator
506
+  HiLink pythonSelf             Special
505 507
 
506 508
   HiLink pythonDecorator        Define
507 509
   HiLink pythonDottedName       Function