Skip to content

helix-editor/tree-house

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages