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
remove regex for pythonClassName
  • Loading branch information
koka831 committed Jul 31, 2017
commit 89881c3974a2d982c4c24dd3991514e0ae1c72d1
3 changes: 2 additions & 1 deletion syntax/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ syn keyword pythonStatement break continue del return pass yield global asse
syn keyword pythonStatement raise nextgroup=pythonExClass skipwhite
syn keyword pythonStatement def nextgroup=pythonFunction skipwhite
syn keyword pythonStatement class nextgroup=pythonClassName skipwhite
syn match pythonClassName '[A-Z][a-zA-Z0-9_]*' display contained
" for all developers, commented out CamelCase regex for className
"syn match pythonClassName '[A-Z][a-zA-Z0-9_]*' display contained
if s:Enabled('g:python_highlight_class_vars')
syn keyword pythonClassVar self cls
endif
Expand Down