Vendored tree-sitter-heex
- JavaScript 22.9%
- Tree-sitter Query 16.8%
- Makefile 16%
- HTML 14.9%
- CMake 12.2%
- Other 17.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| bindings | ||
| queries | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| binding.gyp | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CMakeLists.txt | ||
| go.mod | ||
| grammar.js | ||
| LICENSE.md | ||
| Makefile | ||
| mise.toml | ||
| package-lock.json | ||
| package.json | ||
| Package.swift | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| tree-sitter.json | ||
Tree-sitter HEEx
Tree-sitter grammar and parser for HEEx, the HTML-aware and component-friendly extension of EEx for Phoenix.
For EEx support, see tree-sitter-eex. For Surface support, see tree-sitter-surface.
Installation
Requirements
See Creating Parsers for more information.
Usage
- Clone this repository:
git clone https://github.com/phoenixframework/tree-sitter-heex.git
- (Optional) Install NodeJS via mise:
cd tree-sitter-heex
mise install
- Install npm dependencies:
npm install
- Run the tests:
npm test
- Run the code formatter:
npm run format
- (Optional) Update the tests (useful when contributing):
npm run update_test
- (Optional) Run the web playground (requires Docker):
npm run playground
See Using Parsers for more information.
Editor Support
- Neovim via nvim-treesitter
- Helix
- Zed via the Elixir extension