On Tue, Aug 15, 2017 at 5:44 AM, skeept <skeept@gmail.com> wrote:
> I have some plugins in the locations:
>
>
> ~/.vim/pack/bundle/start
> ~/.vim/pack/bundle/opt
>
> if I start vim with
> vim --noplugins
> vim -u NONE
>
> then I can load plugins from opt but not from start.
> So if a plugin say, unimpaired is in
>
> ~/.vim/pack/bundle/opt
>
> I can load it with
> packadd unimpaired
> (and completion works too).
> However if it is under start, no completion and if I try to load it explicitly I get the error:
>
> E919: Directory not found in 'packpath': "pack/*/opt/unimpaired"
That is intentional, see :help :packadd
>
>
> Would it be possible to change the behavior to make it load the plugins on demand present in start when one of these 2 options are passed?
No need. To load ~/.vim/pack/bundle/start/unimpaired.vim
just do
:runtime pack/bundle/start/unimpaired.vim
see :help :runtime
>
> Thank you,
> Jorge Rodrigues
Best regards,
Tony.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment