Add some supports for Python
It relinks some default syntax groups and defines some new ones. It especially deals with functions, classes and decorators.
This commit is contained in:
+12
-1
@@ -293,6 +293,17 @@ else
|
||||
let g:java_ignore_javadoc = 1
|
||||
endif
|
||||
|
||||
" }}}
|
||||
" Python Highlights {{{
|
||||
|
||||
call s:h( 'pythonDecorator', 'background', 'warning', 'italic')
|
||||
call s:h( 'pythonDecoratorName', 'background', 'warning', 'italic')
|
||||
call s:l( 'pythonInclude', 'Statement')
|
||||
call s:l('pythonOdysseyFunction', 'Function')
|
||||
call s:l( 'pythonOdysseySelf', 'Special')
|
||||
call s:l( 'pythonOdysseyType', 'Type')
|
||||
call s:l( 'pythonOdysseyClass', 'Type')
|
||||
|
||||
" }}}
|
||||
" Ruby Highlights {{{
|
||||
|
||||
@@ -309,6 +320,6 @@ call s:l( 'rubyStringDelimiter', 'Constant')
|
||||
call s:l( 'rustLifetime', 'Constant')
|
||||
call s:l( 'rustQuestionMark', 'Operator')
|
||||
call s:l('rustOdysseyFunction', 'Function')
|
||||
call s:l( 'rustOdysseyType', 'Type')
|
||||
call s:l( 'rustOdysseyType', 'Type')
|
||||
" }}}
|
||||
" vim: foldmethod=marker
|
||||
|
||||
Reference in New Issue
Block a user