From a4917db8b2b49dfdc10d1c760ff67ee51086ddec Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 4 Feb 2020 14:01:25 +1300 Subject: [PATCH 1/1] format mail bodies as markdown --- .vim/after/syntax/mail.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .vim/after/syntax/mail.vim diff --git a/.vim/after/syntax/mail.vim b/.vim/after/syntax/mail.vim new file mode 100644 index 0000000..b0b9501 --- /dev/null +++ b/.vim/after/syntax/mail.vim @@ -0,0 +1,2 @@ +syntax region mailBody start="^$" end="^--\s"me=s-1 keepend contains=@Markdown +syntax include @Markdown syntax/markdown.vim -- 2.39.5