From: martin f. krafft Date: Wed, 3 Oct 2007 14:08:09 +0000 (+0100) Subject: detect git-send-email as mail ftdetect X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/74ced2865534e841c69d891832ca7efc0c5b1a66 detect git-send-email as mail ftdetect --- 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 +