浏览代码

Added `cls` to conventions

http://stackoverflow.com/questions/18489180/convention-for-my-class-in-class-method
Alois Mahdal 11 年前
父节点
当前提交
43b82ab1b6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      dotfiles/vim/syntax/python.vim

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

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")