Move to vscode-languageclient 7.0.0-next.9

Stabilizes call hierarchy and semantic tokens features.
This commit is contained in:
kjeremy
2020-09-01 12:53:07 -04:00
parent 3ffa915cbc
commit b527257330
13 changed files with 49 additions and 59 deletions

View File

@@ -334,13 +334,13 @@ pub(crate) fn semantic_tokens(
builder.build()
}
pub(crate) fn semantic_token_edits(
pub(crate) fn semantic_token_delta(
previous: &lsp_types::SemanticTokens,
current: &lsp_types::SemanticTokens,
) -> lsp_types::SemanticTokensEdits {
) -> lsp_types::SemanticTokensDelta {
let result_id = current.result_id.clone();
let edits = semantic_tokens::diff_tokens(&previous.data, &current.data);
lsp_types::SemanticTokensEdits { result_id, edits }
lsp_types::SemanticTokensDelta { result_id, edits }
}
fn semantic_token_type_and_modifiers(