From 74ced2865534e841c69d891832ca7efc0c5b1a66 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 15:08:09 +0100 Subject: [PATCH] detect git-send-email as mail ftdetect --- .vim/ftdetect/git-send-email.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .vim/ftdetect/git-send-email.vim diff --git a/.vim/ftdetect/git-send-email.vim b/.vim/ftdetect/git-send-email.vim new file mode 100644 index 0000000..da69c21 --- /dev/null +++ b/.vim/ftdetect/git-send-email.vim @@ -0,0 +1,6 @@ +augroup filetypedetect + " detect git-send-email messages + au! BufRead,BufNewFile .msg.[0-9]* + \ if getline(1) =~ '^From .\+ignored\.$' | setfiletype mail | endif +augroup END + -- 2.39.5