Code folding plugin for reovim
This plugin provides code folding functionality:
- Toggle, open, close folds at cursor
- Open/close all folds in buffer
- Fold ranges from treesitter queries
State Management
The plugin stores FoldManager in PluginStateRegistry, accessible by any component.
Event Bus Integration
Commands emit fold events (unified types), and the plugin subscribes to handle them.