google / vimdoc

Helpfile generation for vim
Apache License 2.0
291 stars 28 forks source link

Vimdoc can die when referencing a function defined in the same plugin #26

Open Soares opened 10 years ago

Soares commented 10 years ago

When I put @function(maktaba#error#Shout) in library.vim, vimdoc dies because it can't find maktaba#error#Shout. Note that there's likely some randomness involved here depending upon which plugin file is loaded when. Vimdoc needs to load all files before outputting any, so that it's able to avoid "function not found" errors in this case.