diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-12 17:42:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-12 17:42:22 +0100 |
commit | ab1ad19f552e1b11055ed60f87cc420871d902eb (patch) | |
tree | 691fa1930515d83b7dfee2f48e6bf3d23d0600a8 | |
parent | 70d1b848eb1b8e2c463040be205ee52757a0e19c (diff) | |
parent | 6a18dbe116a78e11750532a2606a3aa63fe24cdf (diff) |
Merge #5332
5332: Update lsp-types r=kjeremy a=kjeremy
Co-authored-by: Jeremy Kolb <[email protected]>
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | crates/rust-analyzer/Cargo.toml | 2 | ||||
-rw-r--r-- | 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 = [ | |||
691 | 691 | ||
692 | [[package]] | 692 | [[package]] |
693 | name = "lsp-types" | 693 | name = "lsp-types" |
694 | version = "0.75.0" | 694 | version = "0.76.0" |
695 | source = "registry+https://github.com/rust-lang/crates.io-index" | 695 | source = "registry+https://github.com/rust-lang/crates.io-index" |
696 | checksum = "a1b4ab1df4a5538413c707860e13fff9e0c9bc2fa613efc15d78196bc06ae06d" | 696 | checksum = "af5586f0631c7f7826c3ea39377c326d7b4623138be7ab1204dab22e47717449" |
697 | dependencies = [ | 697 | dependencies = [ |
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" | |||
20 | itertools = "0.9.0" | 20 | itertools = "0.9.0" |
21 | jod-thread = "0.1.0" | 21 | jod-thread = "0.1.0" |
22 | log = "0.4.8" | 22 | log = "0.4.8" |
23 | lsp-types = { version = "0.75.0", features = ["proposed"] } | 23 | lsp-types = { version = "0.76.0", features = ["proposed"] } |
24 | parking_lot = "0.11.0" | 24 | parking_lot = "0.11.0" |
25 | pico-args = "0.3.1" | 25 | pico-args = "0.3.1" |
26 | rand = { version = "0.7.3", features = ["small_rng"] } | 26 | 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 | |||
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 { |