Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions syntax/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ if s:Enabled("g:python_highlight_exceptions")
syn keyword pythonExClass ImportWarning UnicodeWarning
endif

syn keyword pythonConvention self
syn keyword pythonConvention cls


if s:Enabled("g:python_slow_sync")
syn sync minlines=2000
else
Expand Down Expand Up @@ -562,6 +566,8 @@ if version >= 508 || !exists("did_python_syn_inits")

HiLink pythonExClass Structure

HiLink pythonConvention Define

delcommand HiLink
endif

Expand Down