Add expression handling to heex-ts-mode
authorWilhelm Kirschbaum <wkirschbaum@gmail.com>
Mon, 30 Dec 2024 10:45:08 +0000 (12:45 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 3 Jan 2025 08:41:15 +0000 (09:41 +0100)
commitae2589ea7a59ac3bde19b025ba4a7968c77208d7
tree9008055cbf184f0aad5f0f82e470f5fdd5b6174d
parent0cacf8063910ac2409641109ec7b3af24437fd2c
Add expression handling to heex-ts-mode

On the latest update of the grammar expressions were added and won't be
seen as directives anymore.

* lisp/progmodes/heex-ts-mode.el
(heex-ts--sexp-regexp): Match on expression as well.
(heex-ts--indent-rules): Indent on expression end.  (Bug#75191)
* test/lisp/progmodes/heex-ts-mode-resources/indent.erts: Add expression
indent test.
lisp/progmodes/heex-ts-mode.el
test/lisp/progmodes/heex-ts-mode-resources/indent.erts