Skip to main content

items_with_help

Function items_with_help 

Source
pub fn items_with_help(
    values: &'static [(&'static str, &'static str)],
) -> impl Fn(&Context, &str) -> Vec<CompletionItem> + Send + Sync + 'static
Expand description

Build a completion callback from static (value, help) pairs.