A mode for editing the Hare language in GNU/Emacs. It includes:
- Syntax highlighting
- Indentation
- Some keybindings
Implementation tries to keep actual lists of keywords, builtins and attributes as described in the language specification.
Hare mode uses SMIE for indentation. It defines a simple grammar, and tries to indent accordingly. Until all quirks are fixed in the grammar and indentation, we offer some indentation bindings, making handling of indentation a little easier.
| Binding | Name |
|---|---|
| tab | hare-mode-indent-forward |
| backtab | hare-mode-indent-backward |
Tree sitter version of hare-mode: https://sr.ht/~p00f/hare-ts-mode/