1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-11-09 16:10:00 +00:00

Switch to autoformat instead of Autopep8

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-03-30 09:22:51 +02:00
parent 07974b63bf
commit 6b35608b2b
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

8
vimrc
View file

@ -16,7 +16,7 @@ Plugin 'Shougo/neocomplete.vim'
Plugin 'scrooloose/nerdcommenter'
Plugin 'wakatime/vim-wakatime'
Plugin 'godlygeek/tabular'
Plugin 'tell-k/vim-autopep8'
Plugin 'Chiel92/vim-autoformat'
" Jimdo stuff
Plugin 'Jimdo/vim-spec-runner'
@ -1009,9 +1009,7 @@ let g:go_metalinter_deadline = "20s"
let g:go_autodetect_gopath = 0
"
" autopep8 configuration
" Autoformat configuration
"
let g:autopep8_aggressive=1
let g:autopep8_disable_show_diff=1
autocmd BufWritePre *.py Autopep8
au BufWritePre *.py,*.js :Autoformat