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:
parent
07974b63bf
commit
6b35608b2b
1 changed files with 3 additions and 5 deletions
8
vimrc
8
vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue