ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-Tinymist

by sublimelsp ST4

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

Labels lsp, typst

Details

Installs

  • Total 351
  • Win 130
  • Mac 110
  • Linux 111
Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23
Windows 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 2 0 1 1 2 2 0 0 1 1 0 0 2 0 0 0 1 1 2
Mac 0 3 0 2 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 3 1 2 0 0 4 3 0 1 1 1 0 0 0 3 0 1 0 2 1 1 1 0 0 0 0 0
Linux 0 0 1 0 2 1 2 0 0 0 0 0 0 0 1 0 1 5 0 0 0 0 0 0 0 4 1 0 2 2 0 0 0 1 0 0 0 0 2 0 0 0 0 2 0 0

Readme

Source
raw.​githubusercontent.​com

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, add the scope text.typst markup.math to the global "auto_complete_selector" setting (Preferences: Settings from the command palette) or in the syntax-specific settings (Preferences: Settings - Syntax Specific).

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.