Skip to main content

register_clock_report_actions

Function register_clock_report_actions 

Source
pub fn register_clock_report_actions(registry: &mut CommandRegistry)
Expand description

Register the cr target. Unlike refreshable-view-mode’s dead body, this one is the behaviour: the effect carries a mode name and nothing else, so there is no per-buffer state to read and no handler contribution to forget.

It resolves to the same [lattice_grammar::Effect::ToggleMode] the auto-generated :scan-view-clockreport-mode ex-command returns, so the chord and the command are one switch rather than two paths that can drift.