Saturday, March 9, 2013

Vim chokes on mail.vim ftplugin function

I'm using Vim 7.3 from ports on FreeBSD. When mutt loads the editor it
throws the following error:

Error detected while processing
/usr/local/share/vim/vim73/ftplugin/mail.vim:
line 54:
:%s/^>[[:space:]%|#>]\+$//e
:%s/^>[[:space:]%|#>]\+$//e

Here's the function from the stock mail.vim ftplugin:

function! Mail_Del_Empty_Quoted()
exe "normal :%s/^>[[:space:]\%\|\#>]\\+$//e\<CR>"
endfunction

call Mail_Del_Empty_Quoted()

Thanks,

Jorge Luis

--
Jorge Luis González <list+vim@jorge.cc>
http://www.jorge.cc/ * ftp://ftp.jorge.cc/{pub,incoming}
IRC: #vim jl-satyr * XMPP: jl-satyr@jabber.org
GPG KEY -> 0x4AD9C195 * ICBM: 42.592627, -72.588859

This email optimized for teletypes.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: