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.
- Download the
mojo.syntax.tmLanguage
file. - Drag and drop in
~/Library/Application Support/Sublime Text/Packages/
- Open Sublime Text and goto
view
->syntax
->Mojo
- Then do
View
->Syntax
-> Open all with current extensions as … ->Mojo
- Enjoy
- Updated for 24.1 release