SimplyYummy / Modular-Mojo-Syntax-Highlighting

Sublime Text - Syntax Highlighting for the Mojo Language
GNU General Public License v3.0
4 stars 0 forks source link

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: