Skip to content

sublimelsp/LSP-Tinymist

Repository files navigation

LSP-Tinymist

License

A plugin for the LSP client in Sublime Text with support for the Tinymist language server for Typst.

Installation

Install the Typst package for syntax highlighting, and the LSP and LSP-Tinymist packages from Package Control. The language server executable is downloaded automatically when you open a Typst file and it is updated with new releases of this package.

Configuration

Some configuration options are available in the package settings which can be opened using the Preferences: LSP-Tinymist Settings command from the command palette.

Tip

To improve auto-completions in math mode, append the scope text.typst markup.math to the built-in "auto_complete_selector" setting (Preferences: Settings from the command palette).

Working with Multiple-Files Projects

Tinymist doesn't automatically know the main file of a multiple-files project. You can explicitly pin the active Typst file as the main file using the command LSP-Tinymist: Pin Main File from the command palette.

About

Typst support for Sublime's LSP plugin using the Tinymist language server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages