I read ":help packages" and ":help add-package", trying to get a
better understanding of how this all works, and had a few comments.
Vim version is 7.4.1655.
* repeat.txt, line 484
Note that the files under "pack/foo/opt" or not loaded automatically,
only the
The "or" should be "are".
* repeat.txt, line 519
This could be done inside always.vim, if some conditions are met. Or
you
There is no other mention of always.vim. I have no idea what
that file is for or where it should go.
* $VIMRUNTIME/pack/dist
The matchit.vim plugin is now at
$VIMRUNTIME/pack/dist/opt/matchit/plugin/matchit.vim. I assume
that the "dist" directory is for optional plugins (non-optional
plugins would just go under $VIMRUNTIME) that come standard with
the Vim distribution. The "dist" directory is not documented
anywhere that I can find.
* Installing the matchit plugin
":help matchit-install" recommends adding the line
packadd matchit
to one's vimrc file. As I wrote in another thread, I think it
would be better to recommend using
packadd! matchit
so that when troublshooting a problem by starting Vim with the
--noplugin option argument, the matchit plugin is not loaded
either.
* Package help files
It seems that package help files could go into either
pack/*/start/doc or pack/*/opt/doc. Is there a preferred
location? How do you add a local package help file? Is the
command
:helptags ~/.vim/pack/mypack/start/myplugin/doc
or is there something shorter that makes use of Vim's knowledge
of packages?
Regards,
Gary
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.