Mercurial > vim
diff runtime/doc/repeat.txt @ 8376:e448f2a5d45b v7.4.1480
commit https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 3 17:13:03 2016 +0100
patch 7.4.1480
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 03 Mar 2016 17:15:05 +0100 |
parents | 88207f4b861a |
children | f5972de59001 |
line wrap: on
line diff
--- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -413,7 +413,7 @@ A Vim package is a directory that contai 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 @@ -443,6 +443,8 @@ In the example Vim will find "my/ever/al 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