X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80dda625da425683a045c649d086197fdac91424..2f233dca7b538ab4af29f2a8a1b7b7f1803da358:/.vim/after/ftplugin/mail.vim diff --git a/.vim/after/ftplugin/mail.vim b/.vim/after/ftplugin/mail.vim index 053758e..8801197 100644 --- a/.vim/after/ftplugin/mail.vim +++ b/.vim/after/ftplugin/mail.vim @@ -6,6 +6,8 @@ setlocal formatoptions+=a setlocal formatoptions+=w setlocal formatoptions+=n +setlocal comments=n:> + "setlocal spell augroup tsperrorinsert @@ -192,3 +194,5 @@ fun! DelegateCompletion(next) return "\x10" endif endfun + +autocmd BufWritePost exe 'write ' . fnameescape((exists('$TMPDIR') ? expand('$TMPDIR') : '/tmp') . '/mail.backup.' . strftime('%Y-%m-%d-%H%M%S'))