From 4682ad935b632a1997c2df5bbe3e30ef42ea399e Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 22 Feb 2016 13:07:54 +0100 Subject: [PATCH] vim: Minor vimrc tweaking --- dotfiles/vim/.vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/vim/.vimrc b/dotfiles/vim/.vimrc index efe5dd8..df65e4a 100644 --- a/dotfiles/vim/.vimrc +++ b/dotfiles/vim/.vimrc @@ -311,6 +311,7 @@ endif au BufRead,BufNewFile *.cls set filetype=tex au Filetype tex set textwidth=80 +au Filetype tex set shiftwidth=2 au Filetype tex set smartindent " Override Tagbar Toggle with LatexBox TOC au Filetype tex nmap :LatexTOCToggle @@ -352,6 +353,7 @@ au Filetype python set expandtab " Wrap text after a certain number of characters au Filetype python set textwidth=79 +let g:syntastic_python_checkers = ["pyflakes"] """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " XML, Ipe @@ -440,6 +442,7 @@ let g:deoplete#enable_at_startup = 1 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' +let g:ycm_confirm_extra_conf = 0 let g:ycm_min_num_of_chars_for_completion = 4 let g:ycm_collect_identifiers_from_tags_files = 1 -- 2.30.2