Hi,
I found a bug in html-ts-mode.
If you try to indent this simple html snippet (after enabling html-ts mode)
and try to indent, say, the first or second line, emacs reports the following
error:
Matched rule: ((parent-is "fragment") point-min 0)
treesit--simple-indent-eval: Wrong number of arguments: #, 3
Using parent-bol instead of point-min solves the problem.
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo
version 1.17.6) of 2023-04-09
The patch is attached.
The fragment is as follows:
test
This is a heading
This is a paragraph.
Thank you.
V.