]> git.eshelyaron.com Git - emacs.git/commit
Add treesit-add-simple-indent-rules
authorYuan Fu <casouri@gmail.com>
Fri, 31 Jan 2025 00:54:20 +0000 (16:54 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:11:24 +0000 (12:11 +0100)
commit2a58961b3288cfbf1fb6cdb98e7eee6221d63e56
treeb522ea37ea1d8bed756e6100143164c9449d6b9b
parentcd5dd1831c726925d215483a83a3a3f56eb785e1
Add treesit-add-simple-indent-rules

* lisp/treesit.el:
(treesit-add-simple-indent-rules): New function.
* etc/NEWS: Update NEWS.
*
test/src/treesit-tests.el:
(treesit-test-add-simple-indent-rules): Add a test for the new
function.

(cherry picked from commit ef28af35bb4c43d71fe4c10d02fe93f30e830c5e)
lisp/treesit.el
test/src/treesit-tests.el