diff options
author | James McCoy <jamessan@jamessan.com> | 2016-04-28 20:47:27 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-07-08 01:43:30 -0400 |
commit | 67d8e586318a3f2f13df22f9a3b25c6d8a109e6c (patch) | |
tree | 4eef691cf90cee6144e0cec7b8f56f33629cb8bc /runtime/doc/repeat.txt | |
parent | d43ac790f2454e2173eb645bdcd97c7a7c7e4846 (diff) | |
download | rneovim-67d8e586318a3f2f13df22f9a3b25c6d8a109e6c.tar.gz rneovim-67d8e586318a3f2f13df22f9a3b25c6d8a109e6c.tar.bz2 rneovim-67d8e586318a3f2f13df22f9a3b25c6d8a109e6c.zip |
vim-patch:7.4.1480
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r-- | runtime/doc/repeat.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 527b84c992..b9dee8d261 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -398,7 +398,7 @@ A Vim package is a directory that contains one or more plugins. The advantages over normal plugins: - A package can be downloaded as an archive and unpacked in its own directory. That makes it easy to updated and/or remove. -- A package can be a git, mercurial, etc. respository. That makes it really +- A package can be a git, mercurial, etc. repository. That makes it really easy to update. - A package can contain multiple plugins that depend on each other. - A package can contain plugins that are automatically loaded on startup and @@ -428,6 +428,8 @@ In the example Vim will find "my/ever/always/plugin/always.vim" and adds If the "always" plugin kicks in and sets the 'filetype' to "always", Vim will find the syntax/always.vim file, because its directory is in 'runtimepath'. +Vim will also load ftdetect files, like with |:loadplugin|. + *load-plugin* To load an optional plugin from a pack use the `:loadplugin` command: > :loadplugin mydebug |