]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Better python indenting and linting
authorMaximilian Friedersdorff <maxf130@gmail.com>
Fri, 25 Mar 2016 13:58:32 +0000 (13:58 +0000)
committerMaximilian Friedersdorff <maxf130@gmail.com>
Fri, 25 Mar 2016 13:58:32 +0000 (13:58 +0000)
vimrc

diff --git a/vimrc b/vimrc
index 0defe67b5ce97aa318e5f0259340e5b6b0cdf8c6..fbe7147eaa74175aca271a7e9189a37f92bf05c9 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -26,6 +26,7 @@ Plugin 'kien/ctrlp.vim'
 Plugin 'editorconfig/editorconfig-vim'
 Plugin 'LaTeX-Box-Team/LaTeX-Box'
 Plugin 'ajh17/VimCompletesMe'
+Plugin 'hynek/vim-python-pep8-indent'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -52,10 +53,10 @@ set statusline+=%*
 let g:syntastic_always_populate_loc_list = 1
 let g:syntastic_auto_loc_list = 2
 let g:syntastic_check_on_open = 0
-let g:syntastic_check_on_wq = 0
+let g:syntastic_check_on_wq = 1
 let g:syntastic_javascript_checkers = ['eslint']
-let g:syntastic_python_python_exec = '/usr/bin/python3'
-let g:syntastic_python_checkers = ['flake8']
+"let g:syntastic_python_python_exec = '/usr/bin/python3'
+"let g:syntastic_python_checkers = ['flake8']
 
 " Syntastic C++11
 let g:syntastic_cpp_compiler = 'g++'