From 8bc1b5abd85962ae074139778d5feb750ba1d4a2 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sat, 6 Oct 2012 00:45:15 +1000 Subject: [PATCH] vim: Don't hard-wrap mail files --- .vim/filetypes.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vim/filetypes.vim b/.vim/filetypes.vim index 532a52d..b5ba1f8 100644 --- a/.vim/filetypes.vim +++ b/.vim/filetypes.vim @@ -14,7 +14,8 @@ autocmd BufNewFile,BufRead CMakeLists.txt setlocal ft=cmake " Set options based on filetypes, overriding the filetype plugin/indent options autocmd FileType text call WrapOn() autocmd FileType bib setlocal textwidth=78 nocindent smartindent -autocmd FileType mail setlocal textwidth=72 +autocmd FileType mail setlocal textwidth=0 +autocmd FileType mail call WrapOn() autocmd FileType tex call WrapOn() autocmd FileType objc setlocal nocindent smartindent autocmd FileType cmake setlocal nowrap -- 2.39.2