Skip to main content

register_language_modes

Function register_language_modes 

Source
pub fn register_language_modes(registry: &mut ModeRegistry)
Expand description

Register every language major mode against registry. Called from the App’s mode-registry boot path. Idempotent only by duplication (registry’s existing invariant).

Also registers TreeSitterCompletionMode (CSM.6) – the syntax-feature minor that contributes gen:tree-sitter-symbol candidates to the completion popup.