From: Yuan Fu Date: Tue, 18 Oct 2022 20:21:55 +0000 (-0700) Subject: * lisp/treesit.el: Add commentary. X-Git-Tag: emacs-29.0.90~1812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ee7c3041ac84b6c6f3f4f5275c417d91727312e;p=emacs.git * lisp/treesit.el: Add commentary. --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 91ffb1eff15..cc280f5a5e4 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -19,8 +19,12 @@ ;;; Commentary: ;; -;; Note to self: we don't create parsers automatically in any provided -;; functions if we don't know what language to use. +;; This file is the lisp counterpart of treesit.c, together they +;; provide tree-sitter integration for Emacs. This file contains +;; convenient functions that are more idiomatic and flexible than the +;; exposed C API of tree-sitter. It also contains frameworks for +;; integrating tree-sitter with font-lock, indent, activate/deactivate +;; tree-sitter, debugging tree-sitter, etc. ;;; Code: