From 1e32bf029056832e0a59918df2b959785ceaa07e Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 24 Feb 2017 14:05:18 +0100 Subject: [PATCH] Install and configure autopep8 Signed-off-by: Knut Ahlers --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vimrc b/vimrc index e7bbd0b..4d3ce68 100644 --- a/vimrc +++ b/vimrc @@ -16,6 +16,7 @@ Plugin 'Shougo/neocomplete.vim' Plugin 'scrooloose/nerdcommenter' Plugin 'wakatime/vim-wakatime' Plugin 'godlygeek/tabular' +Plugin 'tell-k/vim-autopep8' " Jimdo stuff Plugin 'Jimdo/vim-spec-runner' @@ -1006,3 +1007,10 @@ autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags let g:go_gocode_autobuild = 1 let g:go_metalinter_deadline = "20s" let g:go_autodetect_gopath = 0 + +" +" autopep8 configuration +" + +let g:autopep8_aggressive=1 +let g:autopep8_disable_show_diff=1