X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vim%2Fftplugin%2Fpython.vim;h=c2367b661b124378e7aad6b96aea3893bd0c03db;hb=bf0f5d6adcdb7a07e8a6463dedee6591f62e62a2;hp=ac3817547d1c8498878287ee5404816080a3155a;hpb=6fade3d638c635975e47221eccd03267e3d39a7f;p=dotfiles.git diff --git a/.vim/ftplugin/python.vim b/.vim/ftplugin/python.vim index ac38175..c2367b6 100644 --- a/.vim/ftplugin/python.vim +++ b/.vim/ftplugin/python.vim @@ -23,7 +23,7 @@ setlocal shiftwidth=4 softtabstop=4 compiler python if has("unix") - execute "autocmd BufWritePost " . expand("%") . " call SavePython()" + autocmd BufWritePost call SavePython() endif " Compile and remove *.cgi[co] files after compilation; do not remove *.py[co] files;