Home

Awesome

mojo-syntax

This repository contains a TextMate grammar for the Mojo 🔥 programming language.

Contributing

The Mojo syntax has been converted from VS Code's Python syntax, which itself was converted from MagicPython.tmLanguage. Many fixes or improvements to Mojo's syntax also apply to these two projects, so in many cases, creating a pull request against one of these two repositories is the way to go. Once accepted there, we can pull down the changes into this project.

For Mojo-specific updates, we'd be happy to review pull requests sent here. Please include a description of the problem that the change addresses.

Reports of general issues with Mojo or how its syntax is highlighted on GitHub, or requests to update this grammar based on changes to the VS Code or MagicPython syntax files, can be sent as issues on the main Mojo repository here.