mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Bump languageserver-types to 0.53.0 to support LSP 3.14.0
See: https://microsoft.github.io/language-server-protocol/specification#version_3_14_0
This commit is contained in:
parent
ef1e107df1
commit
93cf39d968
4 changed files with 8 additions and 8 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -317,7 +317,7 @@ version = "0.1.0"
|
|||
dependencies = [
|
||||
"crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"languageserver-types 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"languageserver-types 0.53.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -399,7 +399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
|
||||
[[package]]
|
||||
name = "languageserver-types"
|
||||
version = "0.51.1"
|
||||
version = "0.53.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -684,7 +684,7 @@ dependencies = [
|
|||
"flexi_logger 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gen_lsp_server 0.1.0",
|
||||
"im 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"languageserver-types 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"languageserver-types 0.53.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ra_analysis 0.1.0",
|
||||
"ra_editor 0.1.0",
|
||||
|
@ -1376,7 +1376,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
"checksum itertools 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)" = "f58856976b776fedd95533137617a02fb25719f40e7d9b01c7043cd65474f450"
|
||||
"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
|
||||
"checksum join_to_string 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7bddc885f3fd69dd4b5d747c2efe6dd2c36d795ea9938281ed50910e32c95e31"
|
||||
"checksum languageserver-types 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)" = "68de833188ada4e175d04a028f03f244f6370eedbcc75a05604d47d925933f69"
|
||||
"checksum languageserver-types 0.53.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a0be4f8f783832a308975035043c0e8ad18e11c3f3d395aa6f1a9f3a30b8e654"
|
||||
"checksum lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a374c89b9db55895453a74c1e38861d9deec0b01b405a82516e9d5de4820dea1"
|
||||
"checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d"
|
||||
"checksum lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "775751a3e69bde4df9b38dd00a1b5d6ac13791e4223d4a0506577f0dd27cfb7a"
|
||||
|
|
|
@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
|
|||
description = "Generic LSP server scaffold."
|
||||
|
||||
[dependencies]
|
||||
languageserver-types = "0.51.0"
|
||||
languageserver-types = "0.53.0"
|
||||
log = "0.4.3"
|
||||
failure = "0.1.2"
|
||||
serde_json = "1.0.24"
|
||||
|
|
|
@ -18,7 +18,7 @@ crossbeam-channel = "0.2.4"
|
|||
flexi_logger = "0.10.0"
|
||||
log = "0.4.3"
|
||||
url_serde = "0.2.0"
|
||||
languageserver-types = "0.51.0"
|
||||
languageserver-types = "0.53.0"
|
||||
walkdir = "2.2.0"
|
||||
im = "12.0.0"
|
||||
cargo_metadata = "0.6.0"
|
||||
|
|
|
@ -6,7 +6,7 @@ use languageserver_types::{
|
|||
DiagnosticSeverity, DocumentSymbol, Documentation, FoldingRange, FoldingRangeKind,
|
||||
FoldingRangeParams, InsertTextFormat, Location, MarkupContent, MarkupKind, MarkedString, Position,
|
||||
PrepareRenameResponse, RenameParams, SymbolInformation, TextDocumentIdentifier, TextEdit,
|
||||
WorkspaceEdit, ParameterInformation, SignatureInformation, Hover, HoverContents,
|
||||
WorkspaceEdit, ParameterInformation, ParameterLabel, SignatureInformation, Hover, HoverContents,
|
||||
};
|
||||
use ra_analysis::{FileId, FoldKind, Query, RunnableKind, FilePosition};
|
||||
use ra_syntax::{TextUnit, text_utils::intersect};
|
||||
|
@ -475,7 +475,7 @@ pub fn handle_signature_help(
|
|||
.params
|
||||
.iter()
|
||||
.map(|param| ParameterInformation {
|
||||
label: param.clone(),
|
||||
label: ParameterLabel::Simple(param.clone()),
|
||||
documentation: None,
|
||||
})
|
||||
.collect();
|
||||
|
|
Loading…
Reference in a new issue