Commit graph

5 commits

Author SHA1 Message Date
Dmitry Gutov
2d3947ba7a html-ts-mode--indent-rules: Use 'column-0' instead of 'point-min'
* lisp/textmodes/html-ts-mode.el (html-ts-mode--indent-rules):
Use 'column-0' instead of 'point-min' (bug#62752).
2023-04-11 00:24:33 +03:00
Theodor Thornhill
b88d47beb0 Swap tag and element in html-ts-mode (bug#60972)
* lisp/textmodes/html-ts-mode.el: New values for
'treesit-sentence-type-regexp' and 'treesit-sexp-type-regexp'.
2023-01-23 13:10:26 +01:00
Theodor Thornhill
8febda46c4 Use element as a sentence in html-ts-mode
* lisp/textmodes/html-ts-mode.el (html-ts-mode): Tweak the regexp.
2023-01-22 11:32:53 +01:00
Theodor Thornhill
ca8f5f71f4 Change top-level anchor to point-min
* lisp/textmodes/html-ts-mode.el (html-ts-mode--indent-rules): Anchor
to point-min.
2023-01-20 22:59:51 +01:00
Theodor Thornhill
c6a7664f06 Add html-ts-mode (bug#60972)
* lisp/textmodes/html-ts-mode.el: New major mode for HTML support
powered by Tree-sitter.
* etc/NEWS: Mention it in NEWS.
2023-01-20 21:53:26 +01:00