Files
vim-odyssey/after/syntax/python.vim
T
Ludovic Koenig a242c3e905 Add some supports for Python
It relinks some default syntax groups and defines some new ones. It
especially deals with functions, classes and decorators.
2019-09-11 22:05:46 +02:00

17 lines
438 B
VimL

"
" Maintainer: Ludovic Koenig <ludovic.koenig@gmail.com>
" Version: 0.5.0
" Since: 0.5.0
" License: MIT
"
" Python Syntax {{{
syntax keyword pythonOdysseySelf self
syntax match pythonOdysseyFunction '\<\l\w*\>('me=e-1
syntax match pythonOdysseyType '\<\u\w*\>'
syntax keyword pythonStatement class nextgroup=pythonOdysseyClass skipwhite
syntax match pythonOdysseyClass "\<\u\w*\>"
" }}}
" vim: foldmethod=marker