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

Typst

by hyrious ST4

Typst sublime text syntax highlighting

Details

Installs

  • Total 3K
  • Win 814
  • Mac 871
  • Linux 830
Jun 10 Jun 9 Jun 8 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
Windows 0 0 0 0 0 1 2 0 2 1 0 0 0 0 0 0 0 0 0 1 0 2 0 0 2 2 1 1 1 0 3 1 2 2 0 3 1 3 1 1 0 1 0 0 0 0
Mac 0 1 4 0 0 3 0 3 2 2 0 0 0 0 0 0 0 0 0 2 2 2 4 1 3 1 0 3 5 3 1 3 3 1 1 0 2 1 1 2 3 2 2 2 1 2
Linux 0 1 1 6 2 1 1 1 1 2 0 0 0 0 0 0 0 1 0 3 4 1 3 1 1 0 1 2 5 1 0 3 2 1 1 2 1 2 0 0 0 4 0 2 0 1

Readme

Source
raw.​githubusercontent.​com

Typst syntax highlight

screenshot

Install

  • Via Package Control: search for Typst.
  • Manual: clone this repo into your Sublime Packages folder.

Recipes

Show auto complete panel without pressing TAB

You can create a syntax specific settings with the config below:

{
  "auto_complete_selector": "text.typst"
}

Build with Makefile

You can create a build system with the config below:

{
  "cmd": ["make"],
  "selector": "text.typst",
  "file_regex": "┌─ (...*?):([0-9]*):?([0-9]*)",
  "env": { "NO_COLOR": "1" },
  "cancel": { "kill": true }
}

Development

Update available syntaxes for raw

Required: cargo (Rust), just (optional)

First, update version of typst-syntax in gen/Cargo.toml, then run:

just

License

MIT @ hyrious