Expand description
§tinymist
This crate provides a CLI that starts services for Typst. It provides:
tinymist lsp
: A language server following the Language Server Protocol.tinymist preview
: A preview server for Typst.
§Usage
See Features: Command Line Interface.
§Documentation
See Crate Docs.
Also see Developer Guide: Tinymist LSP.
§Contributing
See CONTRIBUTING.md.
Re-exports§
pub use tinymist_query as query;
Modules§
- The project.
- All the language tools provided by the
tinymist
crate. - World implementation of typst for tinymist.
Structs§
- Options for background preview.
- Options for browsing preview.
- The font arguments for the compiler.
- Common arguments of compile, watch, and query.
- Arguments related to where packages are stored in the system.
- The user configuration read from the editor.
- Configuration set at initialization that won’t change within a single session.
- Configuration set at initialization that won’t change within a single DAP session.
- The regular initializer.
- The super DAP initializer.
- The lint features.
- The host for the language server, or known as the LSP client.
- The preview features.
- The regular initializer.
- The object providing the language server functionality.
- The super LSP initializer.
- The extra typst arguments passed to the language server. You can pass any arguments as you like, and we will try to follow behaviors of the same version of typst-cli.
- The user action task.
Enums§
- The mode of the formatter.
- The mode of semantic tokens.
- An event sent to the language server.
Traits§
- Capability to add valid commands to the arguments.
Type Aliases§
- Determines in what format paths are specified. The default is
path
, which is the native format.