From 93cf39d96836056d63401099a98e7a511231a0d9 Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Wed, 19 Dec 2018 17:32:44 -0500 Subject: 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 --- crates/ra_lsp_server/src/main_loop/handlers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_lsp_server/src') diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 21ca22c5c..acca480c7 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs @@ -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(); -- cgit v1.2.3