pogyomo / submode.nvim

Create your own submode
MIT License
41 stars 0 forks source link

add api to seal submode to refuse unexpected `submode.default` #20

Closed pogyomo closed 3 weeks ago

pogyomo commented 3 weeks ago

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.