]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Force python3 and flake8 for python linting
authorMaximilian Friedersdorff <maxf130@gmail.com>
Tue, 23 Feb 2016 15:39:40 +0000 (15:39 +0000)
committerMaximilian Friedersdorff <maxf130@gmail.com>
Tue, 23 Feb 2016 15:39:40 +0000 (15:39 +0000)
vimrc

diff --git a/vimrc b/vimrc
index fcff8aaa92411b1de0c0766642a8f90964fea10e..0defe67b5ce97aa318e5f0259340e5b6b0cdf8c6 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -54,6 +54,8 @@ let g:syntastic_auto_loc_list = 2
 let g:syntastic_check_on_open = 0
 let g:syntastic_check_on_wq = 0
 let g:syntastic_javascript_checkers = ['eslint']
+let g:syntastic_python_python_exec = '/usr/bin/python3'
+let g:syntastic_python_checkers = ['flake8']
 
 " Syntastic C++11
 let g:syntastic_cpp_compiler = 'g++'