Fix tree-sitter indent preset prev-adaptive-prefix
authorYuan Fu <casouri@gmail.com>
Fri, 13 Sep 2024 07:23:13 +0000 (00:23 -0700)
committerYuan Fu <casouri@gmail.com>
Sat, 14 Sep 2024 07:28:22 +0000 (00:28 -0700)
commitc70bd0e3fe9c2f5b1fcdce7939c07449f8a5ec4c
tree4a53235407892acc17d1b3ae3522c70e12d50cb0
parent272df33fb8bde41887bfa4b03ed8223b9c03c572
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.
lisp/treesit.el