]> git.eshelyaron.com Git - emacs.git/commit
Add treesit--indent-rules-optimize
authorYuan Fu <casouri@gmail.com>
Mon, 7 Nov 2022 09:59:21 +0000 (01:59 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 7 Nov 2022 09:59:21 +0000 (01:59 -0800)
commit98f5b74808a54ad9093888b72b2c04e085f4b369
tree67bf8e821419b2806cbe9501f55f82bd8a91ac1f
parent1ae314dfda1a7746fb31957ac3eedefd70b3c1fe
Add treesit--indent-rules-optimize

* lisp/treesit.el (treesit--indent-rules-optimize): New function.
(treesit-major-mode-setup): Optimize indent rules when setting up for
major mode.
lisp/treesit.el