From 6a18dbe116a78e11750532a2606a3aa63fe24cdf Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Sun, 12 Jul 2020 12:28:00 -0400 Subject: Update lsp-types --- Cargo.lock | 4 ++-- crates/rust-analyzer/Cargo.toml | 2 +- crates/rust-analyzer/src/caps.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 292ddb982..d6635640f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -691,9 +691,9 @@ dependencies = [ [[package]] name = "lsp-types" -version = "0.75.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1b4ab1df4a5538413c707860e13fff9e0c9bc2fa613efc15d78196bc06ae06d" +checksum = "af5586f0631c7f7826c3ea39377c326d7b4623138be7ab1204dab22e47717449" dependencies = [ "base64", "bitflags", diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 676a04269..c02f72517 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -20,7 +20,7 @@ globset = "0.4.4" itertools = "0.9.0" jod-thread = "0.1.0" log = "0.4.8" -lsp-types = { version = "0.75.0", features = ["proposed"] } +lsp-types = { version = "0.76.0", features = ["proposed"] } parking_lot = "0.11.0" pico-args = "0.3.1" rand = { version = "0.7.3", features = ["small_rng"] } diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs index f999c730a..681b4e279 100644 --- a/crates/rust-analyzer/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs @@ -28,7 +28,7 @@ pub fn server_capabilities(client_caps: &ClientCapabilities) -> ServerCapabiliti }), will_save: None, will_save_wait_until: None, - save: Some(SaveOptions::default()), + save: Some(SaveOptions::default().into()), })), hover_provider: Some(true), completion_provider: Some(CompletionOptions { -- cgit v1.2.3