Browse Source

Merge 5297e8f24a97d4d42597f2c218894619eea0b2d3 into 69760cb3accce488cc072772ca918ac2cbf384ba

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

+ 7
- 0
syntax/python.vim View File

209
 endif
209
 endif
210
 syn keyword pythonTodo		TODO FIXME XXX contained
210
 syn keyword pythonTodo		TODO FIXME XXX contained
211
 
211
 
212
+"
213
+" Classes
214
+"
215
+
216
+syn match pythonClass       "\(import \)\@<!\<[A-Z][a-zA-Z]*\>" display
217
+
212
 "
218
 "
213
 " Errors
219
 " Errors
214
 "
220
 "
502
   HiLink pythonRepeat           Repeat
508
   HiLink pythonRepeat           Repeat
503
   HiLink pythonException        Exception
509
   HiLink pythonException        Exception
504
   HiLink pythonOperator         Operator
510
   HiLink pythonOperator         Operator
511
+  HiLink pythonClass            Type
505
 
512
 
506
   HiLink pythonDecorator        Define
513
   HiLink pythonDecorator        Define
507
   HiLink pythonDottedName       Function
514
   HiLink pythonDottedName       Function