pub fn create_references_view(
activator: &mut dyn ModeActivator,
locations: &[Location],
origin: ReferencesOrigin,
registry: CommandRegistryHandle,
lang_registry: Option<Arc<LangRegistry>>,
) -> Option<BufferId>Expand description
Open a references multibuffer over locations.
Returns the view’s BufferId, or None when there is nothing to
show — the caller echoes rather than opening an empty view.
origin is stored per-view so gr re-queries the symbol the search
started from, not whatever the multibuffer cursor later lands on.