vim-python / python-syntax

Python syntax highlighting for Vim
MIT License
438 stars 84 forks source link

Add global variable to highlight self and cls from propasal 7 #8

Closed monkoose closed 7 years ago

monkoose commented 7 years ago

Enclosed self and cls variables highlight in if statement as mentioned in #7. By default set to 0. With g:python_highlight_all enabled g:python_highlight_self_cls set to 1.

nfnty commented 7 years ago

Renamed the option to g:python_highlight_class_vars. Thanks!