]> git.eshelyaron.com Git - emacs.git/commit
Add expression handling to heex-ts-mode
authorWilhelm Kirschbaum <wkirschbaum@gmail.com>
Mon, 30 Dec 2024 10:45:08 +0000 (12:45 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:56:20 +0000 (21:56 +0100)
commitaff96de4ac4088e1e2ae7489dc207b918d676a45
tree23be955baa81ee9b4507f74cbbd240503f08a105
parent07072b12dbd2b70ebc6c7efdcd3735619961aeb0
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.

(cherry picked from commit ae2589ea7a59ac3bde19b025ba4a7968c77208d7)
lisp/progmodes/heex-ts-mode.el
test/lisp/progmodes/heex-ts-mode-resources/indent.erts