aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/setup.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-21 17:07:00 +0100
committerGitHub <noreply@github.com>2017-03-21 17:07:00 +0100
commit6baa669c10518b8751904a31899feb897fb7c995 (patch)
tree3c19fb1641ee978397416dd85e95e26e9703a83d /src/nvim/testdir/setup.vim
parent5657bb9ea6dfdf799f4d46d8e9022bd7382765e7 (diff)
downloadrneovim-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.vim3
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'