diff --git a/syntax/python.vim b/syntax/python.vim index e963628..e77fe01 100644 --- a/syntax/python.vim +++ b/syntax/python.vim @@ -156,7 +156,8 @@ syn keyword pythonStatement pass raise syn keyword pythonStatement global assert syn keyword pythonStatement lambda syn keyword pythonStatement with -syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite +" syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite +syn keyword pythonDefClass def class nextgroup=pythonFunction skipwhite syn keyword pythonRepeat for while syn keyword pythonConditional if elif else " The standard pyrex.vim unconditionally removes the pythonInclude group, so