]> git.eshelyaron.com Git - emacs.git/commit
Don't indent empty lines in treesit-indent-region
authorYuan Fu <casouri@gmail.com>
Sun, 6 Nov 2022 00:09:51 +0000 (17:09 -0700)
committerYuan Fu <casouri@gmail.com>
Sun, 6 Nov 2022 00:56:24 +0000 (17:56 -0700)
commitf847ecc40bc768d97ba57083fd669ca0104e500f
treebd52459f2957abf6cafe1925e3e0a873bb067b83
parentb471f7f6141b3db8fb00f62f12900846f59beb9a
Don't indent empty lines in treesit-indent-region

* lisp/treesit.el (treesit-indent-region): Wrap the old code in an if
form that checks whether we are at an empty line.  Add comments.
lisp/treesit.el