Complete params

This commit is contained in:
Aleksey Kladov 2018-09-03 15:10:06 +03:00
parent 58480b9190
commit 4798a89a12
10 changed files with 328 additions and 239 deletions

View file

@ -345,7 +345,8 @@ pub fn handle_completion(
let items = items.into_iter()
.map(|item| {
let mut res = CompletionItem {
label: item.name,
label: item.label,
filter_text: item.lookup,
.. Default::default()
};
if let Some(snip) = item.snippet {