diff --git a/vimrc b/vimrc index bb6885d..0a7cfc4 100644 --- a/vimrc +++ b/vimrc @@ -1010,7 +1010,7 @@ let g:go_autodetect_gopath = 0 " Autoformat configuration " -au BufWritePre *.py,*.js :Autoformat +au FileType python,javascript au BufWritePre :Autoformat au FileType sh,zsh au BufWritePre :call SHFmt() "