tree-sitter is an Emacs binding for Tree-sitter, an incremental parsing system. It aims to be the foundation for a new breed of Emacs packages that understand code structurally. Faster, fine-grained code highlighting. More flexible code folding. Structural editing (like Paredit, or even better) for non-Lisp code. More informative indexing for imenu. The author of Tree-sitter articulated its merits a lot better in this Strange Loop talk. The minor mode tree-sitter-mode provides a buffer-local syntax tree, which is kept up-to-date with changes to the buffer’s text. Run M-x tree-sitter-hl-mode to replace the regex-based highlighting provided by font-lock-mode with tree-based syntax highlighting.

Features

  • Faster, fine-grained code highlighting
  • More flexible code folding
  • Structural editing (like Paredit, or even better) for non-Lisp code
  • More informative indexing for imenu
  • It aims to be the foundation for a new breed of Emacs packages that understand code structurally
  • Incremental parsing system

Project Samples

Project Activity

See All Activity >

Categories

Text Editors

License

MIT License

Follow ELisp Tree-sitter

ELisp Tree-sitter Web Site

Other Useful Business Software
Build AI Apps with Gemini 3 on Vertex AI Icon
Build AI Apps with Gemini 3 on Vertex AI

Access Google’s most capable multimodal models. Train, test, and deploy AI with 200+ foundation models on one platform.

Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ELisp Tree-sitter!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Emacs-Lisp

Related Categories

Emacs-Lisp Text Editors

Registered

2022-10-12