Module reloading for plugin developers
Important! This plugin is not ready to use
- Add module to the stack
- Reload one module or all from the stack
- Remove module from the stack
- figure out sub modules
- Split
:ReloadModule
to:ReloadModule
and:ReloadModuleAll
use "strash/no-one-wants-to-restart.nvim"
Plug "strash/no-one-wants-to-restart.nvim"
- Call
:ReloadModuleAdd module-name
or just:ReloadModuleAdd
from module to add the module to the stack - See what module in the stack with
:ReloadModuleList
- Reload module when it's time with
:ReloadModule module-name
to reload this module or use:ReloadModule
to reload all modules from the stack. Use<TAB>
for completein
Command | Description |
---|---|
ReloadModuleAdd [module-name] |
Add module to the stack. Accepts one or no argument. If there is no argument passed then it will add current module (buffer name) |
ReloadModuleList |
See added modules |
ReloadModule [module-name] |
Reload module from the stack. Accepts one or no argument. If there is no argument passed then it will reload all modules from the stack |