init: Add numbering to formatoptions
authorStefan Huber <shuber@sthu.org>
Sun, 20 Jan 2019 10:43:43 +0000 (11:43 +0100)
committerStefan Huber <shuber@sthu.org>
Sun, 20 Jan 2019 10:43:43 +0000 (11:43 +0100)
init.vim

index 2d63a7d4b161394817dbd36b194dbd1052f70888..e058adf0ecb44b850c26a142749ce01e16183fb7 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -84,6 +84,8 @@ let g:guesslang_langs=[ 'en_US', 'de_AT']
 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:.'