Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix
  • Loading branch information
koka831 committed Jul 31, 2017
commit aa9d431248f453a16411cd878590dab26bbe2afe
2 changes: 1 addition & 1 deletion syntax/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ syn keyword pythonStatement raise nextgroup=pythonExClass skipwhite
syn keyword pythonStatement def nextgroup=pythonFunction skipwhite
if s:Enabled('g:python_highlight_class_names')
syn keyword pythonStatement class nextgroup=pythonClassName skipwhite
syn match pythonClassName '^[:upper:]\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*' display contained
syn match pythonClassName '\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*' display contained
endif
if s:Enabled('g:python_highlight_class_vars')
syn keyword pythonClassVar self cls
Expand Down