Browse Source

Merge cbf913eb5128643178fc7ae905816a669f9224ed into 69760cb3accce488cc072772ca918ac2cbf384ba

Lowe Thiderman 7 years ago
parent
commit
4e51ae33f8
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      syntax/python.vim

+ 2
- 0
syntax/python.vim View File

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