Professional syntax highlighting and configuration support for mise configuration files in Zed IDE.
- Syntax Highlighting - Complete, theme-aware syntax highlighting for mise.toml and .mise.toml files
- Section Support - Full support for all mise sections: [tools], [env], [tasks], [vars], [hooks], [plugins], [settings]
- Property Recognition - Accurate highlighting of task properties: run, depends, description, sources, dir, env, etc.
- Environment Variables - Smart detection and highlighting of environment variable identifiers (UPPERCASE)
- Template Syntax - Proper highlighting of Tera template expressions ({{ env.VAR }}, {{ cwd }})
- Performance - TreeSitter-based syntax engine, <10ms per file
- Zero Cost - No external dependencies, no paywalls, completely free
- Open Zed
- Open Extensions (
Cmd+Shift+X) - Search for "mise"
- Click Install
mise.toml.mise.tomlmise.local.toml.mise.local.toml
[tools]
python = "3.12"
node = "22"
uv = "latest"
[env]
NODE_ENV = "development"
DATABASE_URL = "{{ env.DATABASE_URL }}"
[tasks.dev]
description = "Start development server"
run = "uv run python -m uvicorn main:app --reload"
depends = ["install"]
[hooks.enter]
run = "uv sync --quiet"# Build the extension
cargo build
# Build for release (optimized)
cargo build --release
# Run tests (when added)
cargo testsrc/lib.rs # Extension implementation (minimal)
languages/mise/
├── config.toml # Language configuration
├── highlights.scm # TreeSitter highlighting rules
└── indents.scm # Indentation rules
examples/ # Production-ready configurations
├── python-uv.toml
├── nextjs-fullstack.toml
├── go-minimal.toml
└── rust-release.toml
.zed/tasks.json # Native Zed tasks for config generation
docs/ # Comprehensive documentation
Cargo.toml # Rust dependencies
extension.toml # Zed extension manifest
Instead of manual creation, use Zed's native task support:
-
Copy templates directly
cp examples/python-uv.toml mise.toml
-
Or use Zed tasks (when in this project)
Cmd+Shift+P→ search "mise"- Select a template generation task
- Configuration created instantly
-
Edit for your project
- Customize versions and paths
- Add project-specific settings
Run the automated test suite:
./tests/test-extension.shFor manual testing in Zed:
- Build:
cargo build --release - Reload extensions:
Cmd+Shift+P→ "Reload Extensions" - Open test files:
tests/test.mise.toml - Verify syntax highlighting with colors
- Test Zed tasks:
Cmd+Shift+P→ search "mise:"
See tests/README.md for comprehensive testing guide.
The extension provides:
- Syntax Highlighting - TreeSitter-based via
highlights.scm - Language Recognition - Automatic detection of
mise.tomlfiles - Zero Dependencies - Pure Rust, minimal footprint
Contributions are welcome! Please ensure:
- Code compiles without warnings:
cargo build --release - Syntax highlighting improvements in
languages/mise/highlights.scm - New slash commands follow the existing pattern in
src/lib.rs
Found a bug or have a feature idea? Open an issue on GitHub.
MIT License - Copyright (c) 2024-2026 Franco Tampieri - TTlab