From e4ffd70c915046e8286a25d66a530fae7e351912 Mon Sep 17 00:00:00 2001 From: kjeremy Date: Tue, 1 Dec 2020 08:33:21 -0500 Subject: Fix OptionalVersionedTextDocumentIdentifier type Fixes #6654 --- crates/rust-analyzer/Cargo.toml | 2 +- crates/rust-analyzer/src/semantic_tokens.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 08559b53a..0a055b039 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -21,7 +21,7 @@ env_logger = { version = "0.8.1", default-features = false } itertools = "0.9.0" jod-thread = "0.1.0" log = "0.4.8" -lsp-types = { version = "0.84.0", features = ["proposed"] } +lsp-types = { version = "0.85.0", features = ["proposed"] } parking_lot = "0.11.0" pico-args = "0.3.1" oorandom = "11.1.2" diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index e7991fd28..1daad1c98 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs @@ -27,7 +27,7 @@ macro_rules! define_semantic_token_types { SemanticTokenType::ENUM_MEMBER, SemanticTokenType::TYPE_PARAMETER, SemanticTokenType::FUNCTION, - SemanticTokenType::MEMBER, + SemanticTokenType::METHOD, SemanticTokenType::PROPERTY, SemanticTokenType::MACRO, SemanticTokenType::VARIABLE, -- cgit v1.2.3