Skip to content

Emacs Heex major mode using Treesitter for fontification, navigation and indentation

License

Notifications You must be signed in to change notification settings

wkirschbaum/heex-ts-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEEx Major Mode using tree-sitter

License: GPL v3 MELPA CI

Using tree-sitter for font-lock, indentation, imenu and navigation.

This package is primarily to be used with elixir-ts-mode from where you can find all the documentation and installation instructions.

This package is compatible with and was tested against the tree-sitter grammar for HEEx found at https://github.com/phoenixframework/tree-sitter-heex.

Installation

Emacs 29.1 or above with tree-sitter support is required.

Tree-sitter starter guide: https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=emacs-29

You can install the tree-sitter HEEx grammar by running: M-x heex-ts-install-grammar.

Development

To test you can run make test which will download a batch script from https://github.com/casouri/tree-sitter-module and compile tree-sitter-heex.

Requirements:

  • tree-sitter
  • make
  • gcc
  • git
  • curl

Please make sure you run M-x byte-compile-file against the updated file(s) with an emacs version --without-tree-sitter to ensure it still works for non tree-sitter users.

About

Emacs Heex major mode using Treesitter for fontification, navigation and indentation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published