From: martin f. krafft Date: Thu, 14 Oct 2021 00:36:52 +0000 (+1300) Subject: make markdown formatting available in mail X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ac2dac976ee15b6d7626a83fc4b08d6067536741 make markdown formatting available in mail --- diff --git a/.vim/after/ftplugin/mail.vim b/.vim/after/ftplugin/mail.vim index bc98dd5..45b5492 100644 --- a/.vim/after/ftplugin/mail.vim +++ b/.vim/after/ftplugin/mail.vim @@ -197,3 +197,6 @@ fun! DelegateCompletion(next) endfun autocmd BufWritePost exe 'write ' . fnameescape((exists('$TMPDIR') ? expand('$TMPDIR') : '/tmp') . '/mail.backup.' . strftime('%Y-%m-%d-%H%M%S')) + +let g:markdown_in_mail = 1 +runtime! ftplugin/markdown.vim diff --git a/.vim/after/syntax/mail.vim b/.vim/after/syntax/mail.vim deleted file mode 100644 index 2250d96..0000000 --- a/.vim/after/syntax/mail.vim +++ /dev/null @@ -1,2 +0,0 @@ -"syntax region mailBody start="^$" end="^--\s"me=s-1 skip=">.*$" keepend contains=@Markdown -"syntax include @Markdown syntax/markdown.vim