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/globals.h | |
parent | 976787d1f31451ca7a88e774a03e6c24ddc67876 (diff) |
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/globals.h')
-rw-r--r-- | src/globals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 7bc5471769..56df6d5083 100644 --- a/src/globals.h +++ b/src/globals.h @@ -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; |