helix-editor/tree-house

Cozy Rust bindings to the tree-sitter C library and a robust highlighter

Rust

119

259 commits

updated Jun 27, 2026

See the code

README

tree-house

This repository contains a number of crates used by the Helix editor for integration with the tree-sitter C library.

Most notably the highlighter crate tree-house provides Helix's syntax highlighting and all other tree-sitter features since the 25.07 release. The highlighter was rewritten from scratch for simplification and to fix a number of bugs. Read more in the 25.07 release highlights.

Documentation is a work-in-progress and these crates may see breaking changes as we expand our use of Tree-sitter in Helix.

  • bindings/ contains the tree-house-bindings crate which provides Rust bindings over the C library and optional integration with the Ropey rope crate.
  • highlighter/ contains the tree-house crate which exposes a robust highlighter and query iterator for working across [injections].
  • skidder/ contains the skidder crate which exposes utilities for building a package repository for tree-sitter grammars.
  • cli/ contains the skidder-cli crate which wraps skidder in a command line interface.
tree-sitter

Contributors

the-mikedavis

215 commits

pascalkuthe

21 commits

archseer

8 commits

sruggier

4 commits

helix-editor/tree-house

Cozy Rust bindings to the tree-sitter C library and a robust highlighter

Rust

119

259 commits

updated Jun 27, 2026

See the code

README

tree-house

This repository contains a number of crates used by the Helix editor for integration with the tree-sitter C library.

Most notably the highlighter crate tree-house provides Helix's syntax highlighting and all other tree-sitter features since the 25.07 release. The highlighter was rewritten from scratch for simplification and to fix a number of bugs. Read more in the 25.07 release highlights.

Documentation is a work-in-progress and these crates may see breaking changes as we expand our use of Tree-sitter in Helix.

  • bindings/ contains the tree-house-bindings crate which provides Rust bindings over the C library and optional integration with the Ropey rope crate.
  • highlighter/ contains the tree-house crate which exposes a robust highlighter and query iterator for working across [injections].
  • skidder/ contains the skidder crate which exposes utilities for building a package repository for tree-sitter grammars.
  • cli/ contains the skidder-cli crate which wraps skidder in a command line interface.
tree-sitter

Contributors

the-mikedavis

215 commits

pascalkuthe

21 commits

archseer

8 commits

sruggier

4 commits

Languages

Rust

98.6%