mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 05:05:00 +00:00
fix: documentation issues (#131)
This commit is contained in:
parent
edd21deaca
commit
c32e6e3097
9 changed files with 63 additions and 67 deletions
|
@ -21,7 +21,7 @@ use crate::{
|
|||
/// The [`GotoDeclarationResponse::Link`](lsp_types::GotoDefinitionResponse::Link) return value
|
||||
/// was introduced in specification version 3.14.0 and requires client-side
|
||||
/// support in order to be used. It can be returned if the client set the
|
||||
/// following field to `true` in the [`initialize`](Self::initialize) method:
|
||||
/// following field to `true` in the `initialize` method:
|
||||
///
|
||||
/// ```text
|
||||
/// InitializeParams::capabilities::text_document::declaration::link_support
|
||||
|
|
|
@ -23,7 +23,7 @@ use crate::{
|
|||
/// The [`GotoDefinitionResponse::Link`](lsp_types::GotoDefinitionResponse::Link) return value
|
||||
/// was introduced in specification version 3.14.0 and requires client-side
|
||||
/// support in order to be used. It can be returned if the client set the
|
||||
/// following field to `true` in the [`initialize`](Self::initialize) method:
|
||||
/// following field to `true` in the `initialize` method:
|
||||
///
|
||||
/// ```text
|
||||
/// InitializeParams::capabilities::text_document::definition::link_support
|
||||
|
|
|
@ -6,9 +6,9 @@ use crate::{prelude::*, SemanticTokenContext};
|
|||
///
|
||||
/// [`textDocument/semanticTokens/full/delta`]: https://microsoft.github.io/language-server-protocol/specification#textDocument_semanticTokens
|
||||
///
|
||||
/// Similar to [`semantic_tokens_full`](Self::semantic_tokens_full), except it
|
||||
/// returns a sequence of [`SemanticTokensEdit`] to transform a previous result
|
||||
/// into a new result.
|
||||
/// Similar to [`semantic_tokens_full`](crate::SemanticTokensFullRequest),
|
||||
/// except it returns a sequence of [`lsp_types::SemanticTokensEdit`] to
|
||||
/// transform a previous result into a new result.
|
||||
///
|
||||
/// # Compatibility
|
||||
///
|
||||
|
|
|
@ -11,7 +11,7 @@ use crate::{prelude::*, SemanticTokenContext};
|
|||
/// tokens with numbers. In addition, optional support for deltas is available,
|
||||
/// i.e. [`semantic_tokens_full_delta`].
|
||||
///
|
||||
/// [`semantic_tokens_full_delta`]: Self::semantic_tokens_full_delta
|
||||
/// [`semantic_tokens_full_delta`]: crate::SemanticTokensDeltaRequest
|
||||
///
|
||||
/// # Compatibility
|
||||
///
|
||||
|
|
|
@ -17,7 +17,7 @@ use crate::{
|
|||
/// then need to resolve the range when necessary using the `workspaceSymbol/
|
||||
/// resolve` request.
|
||||
///
|
||||
/// [`workspaceSymbol/resolve`]: Self::symbol_resolve
|
||||
/// // [`workspaceSymbol/resolve`]: Self::symbol_resolve
|
||||
///
|
||||
/// Servers can only use this new model if clients advertise support for it via
|
||||
/// the `workspace.symbol.resolve_support` capability.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue