mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-19 10:45:02 +00:00
refactor: simplify and document lsp_typst_boundary crate (#1049)
This commit is contained in:
parent
5db1cf984a
commit
497a1e0aea
18 changed files with 205 additions and 233 deletions
|
@ -5,7 +5,7 @@ use crate::{
|
|||
adt::interner::Interned,
|
||||
prelude::*,
|
||||
syntax::{classify_context, classify_syntax, ArgClass, SyntaxContext},
|
||||
LspParamInfo, SemanticRequest,
|
||||
SemanticRequest,
|
||||
};
|
||||
|
||||
/// The [`textDocument/signatureHelp`] request is sent from the client to the
|
||||
|
@ -89,7 +89,7 @@ impl SemanticRequest for SignatureHelpRequest {
|
|||
.unwrap_or("any")
|
||||
));
|
||||
|
||||
params.push(LspParamInfo {
|
||||
params.push(ParameterInformation {
|
||||
label: lsp_types::ParameterLabel::Simple(format!("{}:", param.name)),
|
||||
documentation: param.docs.as_ref().map(|docs| {
|
||||
Documentation::MarkupContent(MarkupContent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue