]> git.eshelyaron.com Git - emacs.git/commit
Change tree-sitter indent preset 'match' to count on all nodes
authorYuan Fu <casouri@gmail.com>
Sat, 19 Nov 2022 23:25:06 +0000 (15:25 -0800)
committerYuan Fu <casouri@gmail.com>
Sat, 19 Nov 2022 23:25:06 +0000 (15:25 -0800)
commite41af3971de8f71b5241698a8b29349905f1a969
treed099dabe9342b3a7214724ca80e51d680da539a9
parent59eaa30b07e9a79a9b2bb6ade0be9aac846384e2
Change tree-sitter indent preset 'match' to count on all nodes

I changed other presets to count all nodes a while ago, but forgot to
change 'match' too.

* lisp/treesit.el (treesit-simple-indent-presets): Change to count on
both named and anonymous nodes.
lisp/treesit.el