26158Re: script bloat
- Nov 4, 2001
> Zdenek Sekera <zs@...> writes:'.$VIMGLOBAL.'/auto/'.expand("<afile>").'.vim'
> >I don't understand why this function is needed after Ron Aaron's
> >very nice invention of FuncUndefined event in autocmd. That does
> >it already all. I have a directory with plenty of functions that
> >are loaded 'on demand' due to the FuncUndefined event.
> >Very nice and trivial.
> Ok, Zdenek -- here's my more simple version, which works just as well:
> aug autoload_package
> au FuncUndefined * :silent! exe 'source
> aug ENDGreat, as I said the function I posted directly came from a version of your
> Put the files named after the functions, in $VIMGLOBAL/auto as before...
I had on my computer.
- << Previous post in topic Next post in topic >>