An open API service indexing awesome lists of open source software.

https://github.com/uncenter/tree-sitter-tera

⛩️ Tree-sitter grammar for the Tera templating language.
https://github.com/uncenter/tree-sitter-tera

helix neovim tera tree-sitter

Last synced: 8 months ago
JSON representation

⛩️ Tree-sitter grammar for the Tera templating language.

Awesome Lists containing this project

README

          

# tree-sitter-tera

[Tree-sitter](https://tree-sitter.github.io/tree-sitter/) grammar and syntax highlight queries for the [Tera](https://keats.github.io/tera/) templating language.

> [!TIP]
> See also Tera extensions for other editors:
> - Visual Studio Code: [uncenter/vscode-tera](https://github.com/uncenter/vscode-tera)
> - Zed: [uncenter/zed-tera](https://github.com/uncenter/zed-tera)
> - Sublime Text: [MuntasirSZN/sublime-tera](https://github.com/MuntasirSZN/sublime-tera)

## Usage

### Neovim

> [!IMPORTANT]
> Requires Neovim v0.11 or later.

Install the grammar by running the following command inside Neovim:

```
:TSInstall tera
```

### Helix

As of Helix v25.07, Tera language support is included out of the box.

## License

[MIT](LICENSE)