aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-12 17:42:22 +0100
committerGitHub <[email protected]>2020-07-12 17:42:22 +0100
commitab1ad19f552e1b11055ed60f87cc420871d902eb (patch)
tree691fa1930515d83b7dfee2f48e6bf3d23d0600a8
parent70d1b848eb1b8e2c463040be205ee52757a0e19c (diff)
parent6a18dbe116a78e11750532a2606a3aa63fe24cdf (diff)
Merge #5332
5332: Update lsp-types r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
-rw-r--r--Cargo.lock4
-rw-r--r--crates/rust-analyzer/Cargo.toml2
-rw-r--r--crates/rust-analyzer/src/caps.rs2
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 = [
691 691
692[[package]] 692[[package]]
693name = "lsp-types" 693name = "lsp-types"
694version = "0.75.0" 694version = "0.76.0"
695source = "registry+https://github.com/rust-lang/crates.io-index" 695source = "registry+https://github.com/rust-lang/crates.io-index"
696checksum = "a1b4ab1df4a5538413c707860e13fff9e0c9bc2fa613efc15d78196bc06ae06d" 696checksum = "af5586f0631c7f7826c3ea39377c326d7b4623138be7ab1204dab22e47717449"
697dependencies = [ 697dependencies = [
698 "base64", 698 "base64",
699 "bitflags", 699 "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"
20itertools = "0.9.0" 20itertools = "0.9.0"
21jod-thread = "0.1.0" 21jod-thread = "0.1.0"
22log = "0.4.8" 22log = "0.4.8"
23lsp-types = { version = "0.75.0", features = ["proposed"] } 23lsp-types = { version = "0.76.0", features = ["proposed"] }
24parking_lot = "0.11.0" 24parking_lot = "0.11.0"
25pico-args = "0.3.1" 25pico-args = "0.3.1"
26rand = { version = "0.7.3", features = ["small_rng"] } 26rand = { 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
28 }), 28 }),
29 will_save: None, 29 will_save: None,
30 will_save_wait_until: None, 30 will_save_wait_until: None,
31 save: Some(SaveOptions::default()), 31 save: Some(SaveOptions::default().into()),
32 })), 32 })),
33 hover_provider: Some(true), 33 hover_provider: Some(true),
34 completion_provider: Some(CompletionOptions { 34 completion_provider: Some(CompletionOptions {