From a85292ff10a2168ebb1797e253b89e39d4dd2bfc Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 5 Dec 2012 08:25:49 +0100 Subject: [PATCH] vimrc: add detectindent --- dotfiles/vim/.vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -- 2.39.5