Flix TextMate Grammar
August 9, 2026 · View on GitHub
A TextMate grammar for the Flix programming language, in
syntaxes/flix.tmLanguage.json.
Not for end-users
This is not an editor extension and is not meant to be installed. For Flix support in an editor, use the language server built into the Flix compiler, or one of:
- vscode-flix — Visual Studio Code
- emacs — Emacs major mode
- spacemacs — Spacemacs layer
- nvim — Neovim
What uses it
- flix.dev — code snippets on the website.
- blog.flix.dev — code snippets in blog posts.
Keeping it in sync
The keyword rules should track the Keywords table in
Lexer.scala,
which is the authority on what is a keyword in Flix.