Refactor the code

This commit is contained in:
Kirill Bulatov
2020-12-03 00:13:32 +02:00
parent d9bd1f171d
commit 50e06ee95a
11 changed files with 48 additions and 34 deletions

View File

@@ -581,7 +581,7 @@ pub(crate) fn handle_completion(
&line_index,
line_endings,
item.clone(),
&snap.config.completion.resolve_capabilities,
snap.config.completion.should_resolve_additional_edits_immediately(),
);
let item_id = serde_json::to_value(&item_index)