On 2014-11-07, Christian Brabandt wrote:
> Hi Gary!
> I would simply wrap the function() call in a try catch clause and on
> error abort/finish.
Hi Christian,
That worked well! Thank you.
I now have this in my ~/.vimrc, to avoid modifying SpellCheck.vim.
if v:version == 700
try
call function('SpellCheck#AutoEnableSpell')
catch
let g:loaded_SpellCheck = 1
endtry
endif
Regards,
Gary
--
--
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/d/optout.
Friday, November 7, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment