vim-autoformat/ftplugin/python.vim
2012-12-02 19:55:32 +01:00

8 lines
257 B
VimL

"Set the formatter name and arguments for this filetype
let s:prgname = "autopep8"
let s:arguments = "/dev/stdin"
"Set the formatprg option, if the formatter is installed
"globally or in the formatters folder
call g:FindFormatter(s:prgname, s:arguments)