diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-06 19:01:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-06 19:01:55 +0200 |
commit | 66459b7c98c67f8a9d39de8f08e8e8f1fca0e359 (patch) | |
tree | 5e61d00ee66ba009f17ad1d490ce810ae89e6c2b /src/testdir/setup.vim | |
parent | d76a0c15f8bdbc901015879177fd5076d34c7a06 (diff) | |
download | vim-git-66459b7c98c67f8a9d39de8f08e8e8f1fca0e359.tar.gz |
patch 7.4.2164v7.4.2164
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.
Diffstat (limited to 'src/testdir/setup.vim')
-rw-r--r-- | src/testdir/setup.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim index f7e475a81..dee3de212 100644 --- a/src/testdir/setup.vim +++ b/src/testdir/setup.vim @@ -1,7 +1,8 @@ " Common preparations for running tests. -" 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 " Only when the +eval feature is present. if 1 |