Helix Syntax Highlighting Not Working
Workaround available Linux, macOS, Windows Updated November 15, 2026Based on 3 user reportsHow we research
Quick answer
Usually the runtime directory or tree-sitter grammars are missing. Run hx --health <language>, point Helix at the runtime folder and fetch and build grammars.
Most likely fix: Check health for the language
How to fix it
Try these in order — the most common fix is first.
1. Check health for the language
- Run hx --health <language>
- Confirm Highlight queries has a check mark
Did this fix it?2. Make the runtime folder discoverable
- Put runtime next to the hx binary or in ~/.config/helix/ (Linux/macOS) or ~/AppData/Roaming/helix/ (Windows)
- Or set the HELIX_RUNTIME environment variable
- Run hx --health to see searched directories
Did this fix it?3. Fetch and build grammars
- Run hx --grammar fetch (needs git)
- Run hx --grammar build (needs a C++ compiler)
Did this fix it?4. Check the log
- Inside Helix run :log-open
Did this fix it?
Symptoms
Files show no colors, or hx --health shows a missing mark next to Highlight queries.
Why it happens
- Runtime folder not in the executable directory or config directory
- runtime/grammars is empty
- Stale queries out of sync with parsers
This guide also covers
- helix syntax highlighting not working
- helix no syntax highlighting
- helix runtime not found
Still not working?
If Helix keeps failing, you're not alone. See every Helix problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to us