Hi.
I'd like to enhance user experience when installing plugins.
I stumbled uppone one small but important issue:
funcref('a#foo#Func') barks if the functions hasn't been loaded yet.
Why is this bad? Because it's no longer lazy.
Wether the function should be loaded if it doesn't exist yet should be
done when it is called, not when the reference is created!
Is there any chance to change this?
I really don't want to add pseudo types such as
{'funcref': 'funcname'}. But I think I don't have a choice right now.
How do you feel about this?
I'd like to be able to use function references inconfiguration files
without those references files beeing loaded when loading the config.
Of course I can use Function('name') instead of fucntion which loads the
file. But then I don't have to use autoloading at all.
Sincerly
Marc Weber
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---