From 76d52be1da7718d658327adbf7f49388ffbbd7d2 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Thu, 24 Jan 2019 02:40:12 +0900 Subject: Bumpup lsp-types to v0.55.0 --- crates/gen_lsp_server/Cargo.toml | 2 +- crates/ra_lsp_server/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/gen_lsp_server/Cargo.toml b/crates/gen_lsp_server/Cargo.toml index 041151741..54a1d2901 100644 --- a/crates/gen_lsp_server/Cargo.toml +++ b/crates/gen_lsp_server/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0" description = "Generic LSP server scaffold." [dependencies] -lsp-types = "0.54.0" +lsp-types = "0.55.0" log = "0.4.3" failure = "0.1.4" serde_json = "1.0.34" diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml index dd8543c56..160d2f672 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/ra_lsp_server/Cargo.toml @@ -16,7 +16,7 @@ crossbeam-channel = "0.3.5" flexi_logger = "0.10.0" log = "0.4.3" url_serde = "0.2.0" -lsp-types = "0.54.0" +lsp-types = "0.55.0" walkdir = "2.2.7" im = "12.0.0" cargo_metadata = "0.7.0" -- cgit v1.2.3 From 70a35379abc393bb0cf34736dc7b00a0a2cf7ee4 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Thu, 24 Jan 2019 02:47:30 +0900 Subject: Fix target_selection_range type --- crates/ra_lsp_server/src/conv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs index 6818acaf6..8c87f5195 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs @@ -390,7 +390,7 @@ pub fn to_location_link( origin_selection_range: Some(target.range.conv_with(line_index)), target_uri, target_range, - target_selection_range: Some(target_selection_range), + target_selection_range: target_selection_range, }; Ok(res) } -- cgit v1.2.3