Using tree-sitter for font-lock, indentation, imenu and navigation.
- Ensure you have tree-sitter 0.20.7 installed ( tree-sitter --version )
- Ensure you are using the latest
emacs-29
ormaster
branch. - You have to configure and compile emacs after you install tree-sitter
- Ensure you have heex-ts-mode loaded as it is a package dependency
- Clone this repository
- Add the following to your emacs config
(load "[cloned wkirschbaum/surface-ts-mode]/surface-ts-mode.el")
Run M-x surface-ts-install-grammar