init: Add numbering to formatoptions
[vimconf.git] / init.vim
index 6d8e56ed07ea93d53e229f6a146b07733b707da0..e058adf0ecb44b850c26a142749ce01e16183fb7 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -78,10 +78,16 @@ let g:vim_markdown_folding_disabled=1
 let g:vim_markdown_frontmatter=1
 let g:vim_markdown_math=1
 
+au FileType markdown call RagtagInit()
+
 let g:guesslang_langs=[ 'en_US', 'de_AT']
-au FileType text,markdown,mail,tex,gitcommit setlocal spell
+au FileType text,markdown,mail,tex,gitcommit,mediawiki setlocal spell
 au BufReadPost * :DetectIndent
 
+au FileType text,markdown,mail,gitcommit,mediawiki set fo+=n
+
+au FileType mediawiki setlocal wrap linebreak tw=0
+
 au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.'
 au BufEnter *.h* let b:fswitchlocs='reg:/include/lib/,rel:.'