pub fn items( values: &'static [&'static str], ) -> impl Fn(&Context, &str) -> Vec<CompletionItem> + Send + Sync + 'static
Build a completion callback from static values.