X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fftdetect%2Fmutt.vim;h=e7061746023a5970074fa63c07f2fed5fb8e38b1;hb=HEAD;hp=d21c8da5e0eb1bb251e53692c953e6b10852b7c3;hpb=1280549be01e3ce72d9e0aeef6254a1ff14a25a3;p=dotfiles.git diff --git a/vim/.vim/ftdetect/mutt.vim b/vim/.vim/ftdetect/mutt.vim index d21c8da..4e4dc75 100644 --- a/vim/.vim/ftdetect/mutt.vim +++ b/vim/.vim/ftdetect/mutt.vim @@ -1,10 +1 @@ -function! s:KillSignature() abort - call cursor(1, 1) - call search('^[>|] \?-- \?$') - if getpos(".")[1] != 1 - normal d} - endif -endfunction - -autocmd BufRead /tmp/mutt-* call s:KillSignature() -autocmd BufRead /tmp/mutt-* setlocal textwidth=72 +autocmd BufRead,BufNewFile /tmp/mutt-* set filetype=mutt