After some incubation time, the PR related to modules have been merged:
Here’s the relevant part in the doc:
provide-module [<switches>] <name> <commands>
declares a module name that is defined by commands . commands will be evaluated as if by source the first time require-module <name> is run.
allow the module to replace an existing one with the same name. Fails if the module has already been evaluated.
guarantees the commands associated with name have been evaluated before continuing command execution. Fails if name has not been defined by a provide-module command. Does nothing if the associated commands have already been evaluated.
Which plugins in the current ecosystem will benefit from this new addition?
On my side I think I will use
require-module to explicitely mark the (optional) dependency to https://github.com/occivink/kakoune-vertical-selection from https://github.com/Delapouite/kakoune-text-objects