Zdenek Sekera wrote:
I also thought 'runtime' is somehow equivalent
to :source, except it is smart enough
to use 'runtimepath'. Using the same test above
(':runtime test.vim') I found this does *not*
fire up the autocmd while :source does.
Is this intentional or can it be considered a bug?
I'd guess it was intentional. The help for :source explicitly mentions
that using it triggers the SourcePre autocommand, and nowhere in the
help for :runtime does it mention doing so. OTOH, perhaps its an oversight!
Regards,
Chip Campbell
- Re: source, runtime and all that Charles E Campbell Jr
-