" Line wrap crippled with numbers shown
au Filetype man setlocal nonumber
-" Minimum indenting for source code
-au FileType java,cpp,c,cs let g:detectindent_min_indent = 4
-" Consider using localvimrc config file or editorconfig instead
-"au BufReadPost *.java :DetectIndent
-
-au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.'
-au BufEnter *.h* let b:fswitchlocs='reg:/include/lib/,rel:.'
-
-au BufEnter *.cpp,*.cc,*.cxx let b:fswitchdst='h,hxx,hpp,hh'
-au BufEnter *.h,*.hh,*.hxx let b:fswitchdst='cc,c,cxx,cpp'
au BufNewFile *.{h,hpp,hxx} call AddIncludeGuards()
au FileType cpp,c packadd termdebug
let g:detectindent_max_indent = 4
let g:detectindent_preferred_indent = 4
+ " Minimum indenting for source code
+ au FileType c,cpp,objc,java,cs let g:detectindent_min_indent = 4
+ " Consider using localvimrc config file or editorconfig instead
+ "au BufReadPost *.java :DetectIndent
+
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#branch#enabled=1
\ '',
\ ]
endif
+
+ au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.'
+ au BufEnter *.h* let b:fswitchlocs='reg:/include/lib/,rel:.'
+ au BufEnter *.cpp,*.cc,*.cxx let b:fswitchdst='h,hxx,hpp,hh'
+ au BufEnter *.h,*.hh,*.hxx let b:fswitchdst='cc,c,cxx,cpp'
endfunction