Fork of zed-extensions/typst
- Rust 65.8%
- Tree-sitter Query 34.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
bump_version.yml / Bump version to 0.1.1 (#62) (push) Failing after 0s
Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com> |
||
| .github/workflows | ||
| languages/typst | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| extension.toml | ||
| LICENSE | ||
| README.md | ||
Typst Extension for Zed
Usage
To register the LSP and enable certain features such as compile on save, add the
following your settings.json (or .zed/settings.json in the project root for
project-specific config),
"lsp": {
"tinymist": {
"settings": {
"exportPdf": "onSave",
"outputPath": "$root/$name"
}
}
}
This will compile a PDF for the main.typ file in the project root.
To see all available options refer to the tinymist documentation. Beware that the configuration options displayed there apply to NeoVim, not Zed, so some might be incorrect or misleading
Components
- Tree Sitter: tree-sitter-typst
- Language Server: tinymist