vim/ftplugin/python.vim

4 lines
60 B
VimL

if has('pythonx')
setlocal formatexpr=format#yapf()
endif