On 15 January 2011 17:33, Chip Camden <[email protected]> wrote: > I get an error when sourcing this plugin, but only when launching vim > from mutt: > > Error detected while processing > /usr/home/sterling/.vim/ftplugin/mail_CheckAttach.vim: > line 12: > E15: Invalid expression: > E15: Invalid expression: exists("g:loaded_checkattach") || &cp || > Press ENTER or type command to continue > > If I just start vim from a command line and source the plugin, then no > error occurs. Any ideas?
Check your locale environment variables like $LANG. I'm not sure, but mutt could be unsetting them. Rob.
