mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-19 18:55:01 +00:00
fix: match labels in signature help correctly (#288)
* fix: match labels in signature help correctly * QAQ
This commit is contained in:
parent
235f2e49ae
commit
bf64d3f004
2 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue