X-Git-Url: https://git.sthu.org/?p=shutils.git;a=blobdiff_plain;f=dotfiles%2Fvim%2F.vimrc;h=df65e4a1e854e135ceaf320bac618b1585aef3e8;hp=efe5dd897bd35d0e0938876f8326d3940084a77e;hb=4682ad935b632a1997c2df5bbe3e30ef42ea399e;hpb=576b6f815a73d0e9b56a25bdb6ecf618651cbaf0 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