Default mappings of submode is not expected to be added by user and such operation must be done by submode.set. But currently this plugin doesn't provide any api to refuse such unexpected use of submode.default.
So, adding the api like submode.seal(name) may be good.
Default mappings of submode is not expected to be added by user and such operation must be done by
submode.set
. But currently this plugin doesn't provide any api to refuse such unexpected use ofsubmode.default
. So, adding the api likesubmode.seal(name)
may be good.