mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
Typst (.typ) files get syntax colouring for markup, embedded code and math, a file icon, and the tinymist language server (installable from its GitHub releases) for completion, diagnostics, navigation and the outline. Closes #3924
15 lines
399 B
TOML
15 lines
399 B
TOML
id = "typst"
|
|
name = "Typst"
|
|
extensions = ["typ"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 2, insert-spaces = true }
|
|
ui-mode = "Typst"
|
|
|
|
[[language-servers]]
|
|
name = "tinymist"
|
|
command = "tinymist"
|
|
args = ["lsp"]
|
|
root-markers = ["typst.toml"]
|
|
install-hint = "cargo install --locked --git https://github.com/Myriad-Dreamin/tinymist tinymist-cli (or brew install tinymist)"
|