mail: Add fo+=o and | for block quotation
authorStefan Huber <shuber@sthu.org>
Wed, 16 Dec 2020 07:41:54 +0000 (08:41 +0100)
committerStefan Huber <shuber@sthu.org>
Wed, 16 Dec 2020 07:41:54 +0000 (08:41 +0100)
init.vim

index 2da7cac0d3816f326a38b0c46d76b4f46fe177ef..61806e6cd52c48015658fde838301a871b15f2a3 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -137,6 +137,9 @@ let g:vim_markdown_math=1
 
 au FileType text,markdown,mail,tex,gitcommit,mediawiki,vimwiki setlocal spell
 au FileType text,markdown,mail,gitcommit,mediawiki,vimwiki setlocal fo+=n
+au Filetype mail setlocal formatoptions+=o
+" Add | for block quotation, such that gq respects it
+au Filetype mail setlocal comments+=n:\|
 
 au Filetype go setlocal shiftwidth=8 tabstop=8 noexpandtab
 au Filetype tex setlocal shiftwidth=2 tabstop=2