Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 830 Bytes

File metadata and controls

14 lines (11 loc) · 830 Bytes

Modular Mojo syntax highlighting

Syntax highlighting for the Mojo programming language (2023) is now available in the tmLanguage format. This conversion, facilitated by tmLanguage tool, enables Mojo syntax highlighting in applications like Sublime Text. The conversion is based on Mojo's official VSCode syntax, available here.

Install:

MacOS:

  1. Download the mojo.syntax.tmLanguage file.
  2. Drag and drop in ~/Library/Application Support/Sublime Text/Packages/
  3. Open Sublime Text and goto view -> syntax -> Mojo
  4. Then do View -> Syntax -> Open all with current extensions as … -> Mojo
  5. Enjoy

Updates:

  • Updated for 24.1 release