Unofficial Emacs major mode for the Flix programming language.
Features:
- Syntax highlighting.
- Rudimentary indentation support (work in progress).
Download flix-mode.el
and then do the following in Emacs:
M-x package-install-file [RET] /path/to/flix-mode.el [RET]
The built-in package manager in Emacs will then install the mode.
The mode is automatically loaded when you visit a .flix
file.
- The indentation support is pretty crude and not nearly as automatic as in other major modes.
- As in many other major modes, the syntax highlighting is done via regular expressions; so strange source layout can break it.
Contributions are very welcome! If you're unfamiliar with Emacs Lisp, then the following resources are recommended reading:
- https://github.com/chrisdone/elisp-guide
- https://www.emacswiki.org/emacs/ModeTutorial
- https://www.emacswiki.org/emacs/SampleMode
This project is distributed under the GNU General Public License, which can be viewed by typing C-h C-c in Emacs.