From: Maximilian Friedersdorff Date: Fri, 25 Mar 2016 13:58:32 +0000 (+0000) Subject: Better python indenting and linting X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=03c592425c10fae5a01d244ec5047a8bad0c5b6e;p=max%2Fdotfiles.git Better python indenting and linting --- diff --git a/vimrc b/vimrc index 0defe67..fbe7147 100644 --- 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++'