Function shortcode_matches
pub fn shortcode_matches(query: &str, limit: usize) -> Vec<Shortcode>Expand description
Up to limit emoji whose name matches what was typed after the :, best
first. A workspace’s own emoji come first, as they do in the picker’s
search; the catalogue’s follow in its own ranking.