Re: Rely on ‘runtimeparh’ in import autoload

2023-11-25 Thread Matan Nassau
> On Nov 25, 2023, at 08:20, Lifepillar wrote: > > What is the use case for an autoload mechanism when plugins have been > turned off? Are you talking about `import autoload` statements in > a vimrc file? I have a makefile that tests Vim plugins, each test in a dedicated vim --clean. I don’t

Re: Rely on ‘runtimeparh’ in import autoload

2023-11-25 Thread Tony Mechelynck
On Sat, Nov 25, 2023 at 2:20 PM Lifepillar wrote: > > On 2023-11-24, Matan Nassau wrote: > > When is it good practice to use the import autoload form that relies > > on ‘runtimepath’? > > > > import autoload ‘foo.vim’ > > > > I think plugins generally know where their autoload stuff is, and can

Re: Rely on ‘runtimeparh’ in import autoload

2023-11-25 Thread Lifepillar
On 2023-11-24, Matan Nassau wrote: > When is it good practice to use the import autoload form that relies > on ‘runtimepath’? > > import autoload ‘foo.vim’ > > I think plugins generally know where their autoload stuff is, and can > gain a few milliseconds by pointing the import directly at it