diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim deleted file mode 100644 index e824e14..0000000 --- a/after/ftplugin/python.vim +++ /dev/null @@ -1,3 +0,0 @@ -setlocal ts=2 -setlocal sw=2 -setlocal sts=2 diff --git a/vimrc b/vimrc index 4d3ce68..b8bd4bc 100644 --- a/vimrc +++ b/vimrc @@ -1014,3 +1014,4 @@ let g:go_autodetect_gopath = 0 let g:autopep8_aggressive=1 let g:autopep8_disable_show_diff=1 +autocmd BufWritePre *.py Autopep8