Skip to main content

sort_completions

Function sort_completions 

Source
pub fn sort_completions(items: &mut [SimpleCompletion])
Expand description

Order completions the way LSP clients do: by sort text, or by label when an item has none. (Comparing Options would put every item without a sort text first.)