Hi Chip! On Sa, 15 Jan 2011, Chip Camden 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 || > line 13: > E10: \ should be followed by /, ? or & > Error detected while processing function > <SNR>8_TriggerAuCmd..<SNR>8_Init: > line 6: > E15: Invalid expression: > E15: Invalid expression: exists("g:attach_check_keywords") ? > line 7: > E10: \ should be followed by /, ? or & > line 10: > E15: Invalid expression: > E15: Invalid expression: exists("g:checkattach_autocmd") ? > line 11: > E10: \ should be followed by /, ? or & > 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? That looks like you are using vim in compatible mode. What is your editor setting? What does :set cp? give you in vim? regards, Christian