1
0
forked from aniani/vim

patch 8.0.0612: pack dirs are added to 'runtimepath' too late

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)
This commit is contained in:
Bram Moolenaar
2017-06-04 17:47:42 +02:00
parent 976787d1f3
commit ce876aaa9a
6 changed files with 71 additions and 10 deletions

View File

@@ -326,6 +326,8 @@ EXTERN int garbage_collect_at_exit INIT(= FALSE);
EXTERN scid_T current_SID INIT(= 0);
#endif
EXTERN int did_source_packages INIT(= FALSE);
/* Magic number used for hashitem "hi_key" value indicating a deleted item.
* Only the address is used. */
EXTERN char_u hash_removed;