X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=init.vim;h=75f8c34f1c917612f5b0eaaf8848e0033497b0fe;hp=f4b86e15bd31c35038a1255deb31810f8e3c7745;hb=a89eb6e1fb9a8f310d64c5bc11ca109a887d4461;hpb=24b80095f7be30c28b49af5348755b90f18cbe53 diff --git a/init.vim b/init.vim index f4b86e1..75f8c34 100644 --- a/init.vim +++ b/init.vim @@ -60,6 +60,7 @@ runtime plugsetup.vim " Some preferences for indent detection let g:detectindent_min_indent = 2 +let g:detectindent_max_indent = 4 let g:detectindent_preferred_indent = 4 " Attention: Must be run after plugsetup.vim @@ -172,7 +173,7 @@ au FileType markdown call RagtagInit() let g:detectspelllang_langs = {} let g:detectspelllang_langs.aspell =[ 'en_US', 'de_AT'] -"au BufReadPost * :DetectIndent +au BufReadPost *.java :DetectIndent au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.' au BufEnter *.h* let b:fswitchlocs='reg:/include/lib/,rel:.'