]> git.eshelyaron.com Git - emacs.git/commit
Fix tree-sitter indent preset prev-adaptive-prefix
authorYuan Fu <casouri@gmail.com>
Fri, 13 Sep 2024 07:23:13 +0000 (00:23 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 14 Sep 2024 20:32:05 +0000 (22:32 +0200)
commite0dd8648b51a0cb601dba0a7c8931dd5f0269d6a
tree289f104eb391551af1ea5876c37e7730c3a35fdb
parent85aa3c8ae1400e88bbb68e8c6bb1fdf1791b8685
Fix tree-sitter indent preset prev-adaptive-prefix

* lisp/treesit.el (treesit-simple-indent-presets): Use looking-at so the
call to match-string has the match data to work with.

(cherry picked from commit c70bd0e3fe9c2f5b1fcdce7939c07449f8a5ec4c)
lisp/treesit.el