jinja.vim icon indicating copy to clipboard operation
jinja.vim copied to clipboard

Remove test submodule from default install behavior

Open tygoetsch opened this issue 1 year ago • 1 comments

Using vim-plug, it looks like the submodules are initialized by default. Can this behavior be changed so the user would have to add a post-hook command in order for the submodules to be initialized?

Requesting because the documentation says they are only used for testing purposes, so I imagine the average user has no need to have them, and having a post-hook to install additional features makes more sense than a post-hook to remove them.

tygoetsch avatar Dec 21 '24 00:12 tygoetsch

By default Git does not initialize submodules, so my guess is that this has to be done on the side of the package manager. I use bare Git for managing my plugins, so I don't know if there is such an option in vim-plug. But yes, you are right, the average user has no need for the submodule, it's just a waste of space.

If you can figure out a way of telling package managers to not include the submodules please let me know, I can add that information to the README.

HiPhish avatar Dec 21 '24 01:12 HiPhish

Implemented in cd939896b8d73ce6b3f31a734b516e32383a76a4

HiPhish avatar Jul 20 '25 18:07 HiPhish