diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-04 17:47:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-04 17:47:42 +0200 |
commit | ce876aaa9a250a5a0d0e34b3a2625e51cf9bf5bb (patch) | |
tree | 866d4fce5780c8a1df41501a65596238abc9dcc9 /src/proto/ex_cmds2.pro | |
parent | 976787d1f31451ca7a88e774a03e6c24ddc67876 (diff) | |
download | vim-git-ce876aaa9a250a5a0d0e34b3a2625e51cf9bf5bb.tar.gz |
patch 8.0.0612: pack dirs are added to 'runtimepath' too latev8.0.0612
Problem: Package directories are added to 'runtimepath' only after loading
non-package plugins.
Solution: Split off the code to add package directories to 'runtimepath'.
(Ingo Karkat, closes #1680)
Diffstat (limited to 'src/proto/ex_cmds2.pro')
-rw-r--r-- | src/proto/ex_cmds2.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro index 4a40f0a76..e8d281408 100644 --- a/src/proto/ex_cmds2.pro +++ b/src/proto/ex_cmds2.pro @@ -72,6 +72,8 @@ void ex_runtime(exarg_T *eap); int source_runtime(char_u *name, int flags); int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); +void add_pack_start_dirs(void); +void load_start_packages(void); void ex_packloadall(exarg_T *eap); void ex_packadd(exarg_T *eap); void ex_options(exarg_T *eap); |