https://github.com/modular/mojo.vim
Vim configuration files for Mojo🔥
https://github.com/modular/mojo.vim
Last synced: 11 months ago
JSON representation
Vim configuration files for Mojo🔥
- Host: GitHub
- URL: https://github.com/modular/mojo.vim
- Owner: modular
- License: apache-2.0
- Created: 2024-04-15T21:58:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T22:00:57.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T23:19:24.332Z (about 1 year ago)
- Language: Vim Script
- Size: 14.6 KB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mojo syntax highlighting and indentation for VIM
This provides basic Mojo syntax highlighting for VIM. It's almost identical to
Python modulo several additions of Mojo-specific keywords. The additions are
marked with "Mojo addition" in the config files for convenience.
## How to setup Mojo syntax highlighting
1. Add Mojo config files to your VIM config:
```bash
for FOLDER in autoload ftdetect ftplugin indent syntax; do mkdir -p ~/.vim/$FOLDER && ln -s $FOLDER/mojo.vim ~/.vim/$FOLDER/mojo.vim; done
```
2. Enjoy