From: Stefan Huber Date: Wed, 5 Dec 2012 07:25:49 +0000 (+0100) Subject: vimrc: add detectindent X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=a85292ff10a2168ebb1797e253b89e39d4dd2bfc;p=shutils.git vimrc: add detectindent --- diff --git a/dotfiles/vim/.vimrc b/dotfiles/vim/.vimrc index 78f58a1..ecb9f00 100644 --- a/dotfiles/vim/.vimrc +++ b/dotfiles/vim/.vimrc @@ -20,7 +20,6 @@ filetype plugin indent on set modeline set autoindent -"set tabstop=4 set number set bs=2 @@ -62,7 +61,9 @@ au Filetype python,tex,c,cpp,cs,objc,java syn match BadWhitespace /\s\+$/ contai " set list to activate set listchars=tab:»­,trail:·,eol:$ - +au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent +"let g:detectindent_preferred_expandtab = 1 +"let g:detectindent_preferred_indent = 4 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""