Skip to main content

Module hover

Module hover 

Source
Expand description

hover-mode – minor mode activated on the hover popup buffer (M.4 hover-popup unification). Marker mode for v1; the only behaviour gated on it today is the State-A auto-dismiss-on- doc-cursor-motion check in the App’s dispatch loop. Future hover-only contributions (auto-close timer, bound-<Esc>-to- dismiss, signature-help fan-in) layer on without touching the popup-overlay code.

Hover content is markdown; the major mode the App activates alongside hover-mode is markdown-mode, so the renderer’s syntax + link extraction treats hover content as any other markdown buffer. Help-mode is intentionally NOT activated on hover popups – hover content’s links are typically external URLs we don’t follow internally.

Structs§

HoverMode
hover-mode — marker minor on the hover popup buffer (activated alongside markdown-mode). Wraps long lines and borrows help-mode’s read-only invocation runner; see the module docs.