aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-09-11 16:20:59 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-09-18 13:53:50 +0200
commit396280d3030685c6b7c4d962f24bb5171a735b47 (patch)
tree08b04faa0d1fd328f0e89e8541b444c229633cd9 /src/nvim/testdir
parent8ef2b56cac895c151345cf0ff0a97456c0a7fdd2 (diff)
downloadrneovim-396280d3030685c6b7c4d962f24bb5171a735b47.tar.gz
rneovim-396280d3030685c6b7c4d962f24bb5171a735b47.tar.bz2
rneovim-396280d3030685c6b7c4d962f24bb5171a735b47.zip
refactor(runtime): always use DIP_START when searching for runtime files
Now remove the addition of "start/*" packages in 'packpath' as explicit items in 'runtimepath'. This avoids 'runtimepath' from becoming very long when using a lot of plugins as packages. To get the effective search path as a list, use |nvim_list_runtime_paths()|
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_startup.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim
index e0dc0e0075..daebe25466 100644
--- a/src/nvim/testdir/test_startup.vim
+++ b/src/nvim/testdir/test_startup.vim
@@ -102,7 +102,7 @@ func Test_pack_in_rtp_when_plugins_run()
if RunVim(before, after, '')
let lines = filter(readfile('Xtestout'), '!empty(v:val)')
- call assert_match('Xhere[/\\]pack[/\\]foo[/\\]start[/\\]foobar', get(lines, 0))
+ call assert_match('runtimepath=Xhere', get(lines, 0))
call assert_match('autoloaded foo', get(lines, 1))
endif