Bill McCarthy wrote:
[...]
I made an interesting discovery. If I force AsNeeded to
load after taglist (its first time), although I get the same
error message running :TlistSessionLoad, the session was
indeed loaded.
What is happening is the autocmd for taglist was triggered
and did its thing. Then the autocmd from AsNeeded was
triggered and failed. Typing:
:Tlist
worked fine.
Yes, by sourcing AsNeeded after taglist the AsNeeded autocommand is
moved to the bottom of the list, so it only gets a chance to execute
(and abort) after the taglist autocommands have "done their thing".
Best regards,
Tony.