Browse Source

Added `cls` to conventions

http://stackoverflow.com/questions/18489180/convention-for-my-class-in-class-method
Alois Mahdal 11 years ago
parent
commit
43b82ab1b6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotfiles/vim/syntax/python.vim

+ 1
- 0
dotfiles/vim/syntax/python.vim View File

149
 
149
 
150
 " added by aloism
150
 " added by aloism
151
 syn keyword pythonConvention    self
151
 syn keyword pythonConvention    self
152
+syn keyword pythonConvention    cls
152
 
153
 
153
 if s:Python2Syntax()
154
 if s:Python2Syntax()
154
   if !s:Enabled("g:python_print_as_function")
155
   if !s:Enabled("g:python_print_as_function")