Thanks for the quick responses Ingo and Bram! On Tuesday, June 27, 2017 at 9:53:32 AM UTC-4, Ingo Karkat wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 27-Jun-2017 13:51 +0200, Bram Moolenaar wrote: > > > > Ingo Karkat wrote: > > > >> On 27-Jun-2017 00:01 +0200, mseplowitz wrote: > >> > >>> A recent patch seems to have changed the behavior of how my > >>> plugins load. In particular, it looks like plugin files in > >>> pack/*/start/*/plugin/*.vim are loaded twice. > >>> > >>> I'm fairly sure this is an effect of patch 8.0.0612 > >>> (https://github.com/vim/vim/commit/ce876aaa9a250a5a0d0e34b3a2625e51cf9 > >> > >>> > >>> > bf5bb). > >>> > >>> > >> [55 lines deleted] > >> > >> You're right, and thank you for the great and detailed analysis! > >> You've clearly succeeded in making the fixing as easy as > >> possible :-) That pack plugins are sourced twice is indeed a > >> regression and an oversight from my previous patch. I've just > >> submitted a pull request that corrects the problem (and adds a > >> test): > >> > >> https://github.com/vim/vim/pull/1801 > > > > Thanks. However, this still changes the order in which plugins are > > loaded. We do want the plugins from "start" to be loaded after > > 'runtimepath' plugins. I'll make another solution, but include > > your test. > > Oh, right. Only the first entry is still in front now. > > I was afraid that functions that were hard-wired to 'runtimepath' now > had to work with a saved / changed value. Your fix touches quite some > functions; very well done! It's always nice to learn from the master > :-) Thank you very much! > > - -- regards, ingo > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJZUmNOAAoJEA7ziXlAzQ/vXw0H/2kW58houTbvSfkClwRDxA+y > YjGUFhbslU5iMvSU6/63rdvm7FNlr/psCR8fYEUWoYYqCCyKGVZs8dZY6WeIBGZf > V2veD+xe7gFwa2ibyyF23uir84SaVe8lyrZeGy0fFPnqp41buhHQ8A39j3IBBKfn > 7N8WD9K6eu6CsaB8yGKynQ+VNurTadYu6jJoBo82LlS94jTis7+QeD3miTaj/VHq > uQ+zSnN5c5ORwq9KzcD5WGZn+EKaDPE85IAcVxKwS27iCYSTj6T3TIEhzwGgMm5f > m8UTK63h5/xHMM1M2CNXJ1MruO6RDVXU/ldXfiE/lTM/5bmO3r0tkMXoRDyvg74= > =eSC5 > -----END PGP SIGNATURE-----
-- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
