diff src/proto/ex_cmds2.pro @ 11595:42cd59477698 v8.0.0680

patch 8.0.0680: plugins in start packages are sourced twice commit https://github.com/vim/vim/commit/07ecfa64a18609a986f21d6132d04ee8934f3200 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 27 14:43:55 2017 +0200 patch 8.0.0680: plugins in start packages are sourced twice Problem: Plugins in start packages are sourced twice. (mseplowitz) Solution: Use the unmodified runtime path when loading plugins (test by Ingo Karkat, closes #1801)
author Christian Brabandt <cb@256bit.org>
date Tue, 27 Jun 2017 14:45:04 +0200
parents 5a1656d79707
children 976b480ced9a
line wrap: on
line diff
--- a/src/proto/ex_cmds2.pro
+++ b/src/proto/ex_cmds2.pro
@@ -69,9 +69,10 @@ void ex_argdelete(exarg_T *eap);
 void ex_listdo(exarg_T *eap);
 void ex_compiler(exarg_T *eap);
 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);
+int source_runtime(char_u *name, int flags);
+int source_in_path(char_u *path, char_u *name, int flags);
 void add_pack_start_dirs(void);
 void load_start_packages(void);
 void ex_packloadall(exarg_T *eap);