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:
Jeremy A. Kolb 2018-12-19 17:32:44 -05:00
parent ef1e107df1
commit 93cf39d968
4 changed files with 8 additions and 8 deletions

View file

@ -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();