diff --git a/crates/tinymist-query/src/signature_help.rs b/crates/tinymist-query/src/signature_help.rs index 733d82e0..566823ce 100644 --- a/crates/tinymist-query/src/signature_help.rs +++ b/crates/tinymist-query/src/signature_help.rs @@ -129,7 +129,7 @@ impl SemanticRequest for SignatureHelpRequest { )); params.push(LspParamInfo { - label: lsp_types::ParameterLabel::Simple(param.name.as_ref().into()), + label: lsp_types::ParameterLabel::Simple(format!("{}:", param.name)), documentation: if !param.docs.is_empty() { Some(Documentation::MarkupContent(MarkupContent { value: param.docs.clone().into(), diff --git a/tests/e2e/main.rs b/tests/e2e/main.rs index f6cf611d..14915232 100644 --- a/tests/e2e/main.rs +++ b/tests/e2e/main.rs @@ -385,7 +385,7 @@ fn e2e() { }); let hash = replay_log(&tinymist_binary, &root.join("vscode")); - insta::assert_snapshot!(hash, @"siphash128_13:232d10be45b5cb9d48abbfc5aab974be"); + insta::assert_snapshot!(hash, @"siphash128_13:1e7e518ee933e10087b613f885945c41"); } }