From 92e56e0c70df8bbaa8b996a8cbfe8b73700109e8 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 10 May 2022 16:54:13 +0200 Subject: [PATCH] Fix inverted signature help setting --- crates/rust-analyzer/src/to_proto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index ffcea078ce..ea4ca5d82e 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs @@ -341,7 +341,7 @@ pub(crate) fn signature_help( config: CallInfoConfig, label_offsets: bool, ) -> lsp_types::SignatureHelp { - let (label, parameters) = match (!config.params_only, label_offsets) { + let (label, parameters) = match (config.params_only, label_offsets) { (concise, false) => { let params = call_info .parameter_labels()