diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-21 17:07:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 17:07:00 +0100 |
commit | 6baa669c10518b8751904a31899feb897fb7c995 (patch) | |
tree | 3c19fb1641ee978397416dd85e95e26e9703a83d /runtime | |
parent | 5657bb9ea6dfdf799f4d46d8e9022bd7382765e7 (diff) | |
download | rneovim-6baa669c10518b8751904a31899feb897fb7c995.tar.gz rneovim-6baa669c10518b8751904a31899feb897fb7c995.tar.bz2 rneovim-6baa669c10518b8751904a31899feb897fb7c995.zip |
vim-patch:7.4.2164 (#6326)
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
https://github.com/vim/vim/commit/66459b7c98c67f8a9d39de8f08e8e8f1fca0e359
vim-patch:7.4.2172
vim-patch:7.4.2169
vim-patch:7.4.2177
vim-patch:7.4.2178
vim-patch:7.4.2184
vim-patch:8.0.0050
vim-patch:8.0.0105
vim-patch:8.0.0400
vim-patch:8.0.0405
Closes #6034
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/starting.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 2c024d3c75..b168d2cb98 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -457,6 +457,8 @@ accordingly. Vim proceeds in this order: searched for the "plugin" sub-directory and all files ending in ".vim" will be sourced (in alphabetical order per directory), also in subdirectories. + However, directories in 'runtimepath' ending in "after" are skipped + here and only loaded after packages, see below. Loading plugins won't be done when: - The 'loadplugins' option was reset in a vimrc file. - The |--noplugin| command line argument is used. @@ -464,13 +466,18 @@ accordingly. Vim proceeds in this order: - When Vim was compiled without the |+eval| feature. Note that using "-c 'set noloadplugins'" doesn't work, because the commands from the command line have not been executed yet. You can - use "--cmd 'set noloadplugins'" |--cmd|. + use "--cmd 'set noloadplugins'" or "--cmd 'set loadplugins'" |--cmd|. Packages are loaded. These are plugins, as above, but found in the "start" directory of each entry in 'packpath'. Every plugin directory found is added in 'runtimepath' and then the plugins are sourced. See |packages|. + The plugins scripts are loaded, as above, but now only the directories + ending in "after" are used. Note that 'runtimepath' will have changed + if packages have been found, but that should not add a directory + ending in "after". + 7. Set 'shellpipe' and 'shellredir' The 'shellpipe' and 'shellredir' options are set according to the value of the 'shell' option, unless they have been set before. |