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 /src/nvim/testdir/setup.vim | |
| 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 'src/nvim/testdir/setup.vim')
| -rw-r--r-- | src/nvim/testdir/setup.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim index 05257d566d..06f2199214 100644 --- a/src/nvim/testdir/setup.vim +++ b/src/nvim/testdir/setup.vim @@ -4,8 +4,9 @@ set noruler set noshowcmd set belloff= -" Make sure 'runtimepath' does not include $HOME. +" Make sure 'runtimepath' and 'packpath' does not include $HOME. set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after +let &packpath = &rtp " Make sure $HOME does not get read or written. let $HOME = '/does/not/exist' |