From 9394758ff932c08ee63f82980bbc55f763030ba3 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 25 May 2019 12:03:01 -0700 Subject: [PATCH] vimrc updates. --- dotfiles/vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index c5065cd..49f85c8 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -115,6 +115,7 @@ endfunction let g:syntastic_enable_signs = 1 let g:syntastic_auto_loc_list = 2 let g:syntastic_go_checkers = ['govet', 'errcheck', 'go'] +let g:syntastic_python_checkers=['flake8'] " Have F5 run the tests and display errors nnoremap :SyntasticCheck :Errors @@ -147,6 +148,12 @@ command Unsmartquote %s/“\|”/"/g " Markdown options autocmd Filetype markdown set expandtab shiftwidth=4 +" Python options +autocmd Filetype python set expandtab shiftwidth=4 + +" Makefile options +autocmd BufRead,BufNewFile Makefile* set noexpandtab + " Enable filetype support " Needs to be at end of vimrc filetype plugin indent on