A Zed extension to provide Mojo language support with syntax highlighting and LSP integration.
- Syntax highlighting
- Outlines
- Language Server Protocol (LSP) support
- Install the Pixi
- Clone this repository
- Open Zed and click "Install Dev Extension" from the extensions page
- Select the cloned repository
Enable formatting by adding following in zed setting :
{
"languages": {
"mojo": {
"formatter": {
"external": {
"command": "pixi",
"arguments": ["run", "mojo", "format", "-q", "-"]
}
}
}
}
}
The extension uses tree-sitter-mojo for syntax highlighting.
Feedback and contributions are welcome! Please share your suggestions to help improve this extension.