pub type CompletionProviderFn = Arc<dyn Fn(CompletionContext) -> Pin<Box<dyn Future<Output = Vec<CompletionItem>>>> + Send + Sync>;Expand description
An async function that provides completion items given editor context.
Aliased Type§
pub struct CompletionProviderFn { /* private fields */ }