docs: add dev guide of tinymist-query (#1064)

This commit is contained in:
Myriad-Dreamin 2024-12-25 12:20:09 +08:00 committed by GitHub
parent dd67518248
commit c66615934c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 136 additions and 6 deletions

View file

@ -0,0 +1,8 @@
# Fixtures
This is the fixtures directory that testing the [`textDocument/completion`](/crates/tinymist-query/src/completion.rs) function.
## Contributing
Please check [CONTRIBUTING.md](/CONTRIBUTING.md) and [Guide to develop `tinymist-query`](/docs/dev-guide/tinymist-query.md#testing-analyzers).

View file

@ -7,7 +7,7 @@ use crate::prelude::*;
///
/// # Compatibility
///
/// The [`GotoDefinitionResponse::Link`](lsp_types::GotoDefinitionResponse::Link) return value
/// The [`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` method:

View file

@ -1,6 +1,4 @@
//! The [`CompileServerActor`] implementation borrowed from typst.ts.
//!
//! Please check `tinymist::actor::typ_client` for architecture details.
//! Jumping from and to source and the rendered document.
use std::num::NonZeroUsize;