pub fn register(hook: Box<dyn EditHook>)Expand description
Register a hook on the process-wide registry.
Registered hooks are appended; later registrations take precedence for path
resolution, and every registered hook is notified on commit. The pre-registered
DefaultEditHook sits at the bottom of the stack and acts as the fallback.