]> git.eshelyaron.com Git - emacs.git/commit
Improve elixir-ts--thing-settings.
authorJuri Linkov <juri@linkov.net>
Thu, 1 May 2025 18:03:34 +0000 (21:03 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 06:54:49 +0000 (08:54 +0200)
commit1922fc65eb8506ffb4a17edc2ef1775204c700b1
tree5b960a925b59e7f2d0d9a70088eb259091294c5a
parent958078794419307dec220c2247b7865c1f6fc7c9
Improve elixir-ts--thing-settings.

* lisp/progmodes/elixir-ts-mode.el (elixir-ts--thing-settings):
Add extra grouping "keywords" to named sexp nodes.
Add "," to anonymous sexp nodes.  Use bos/eos.

* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
Use bos/eos for anonymous sexp nodes for better disambiguation.

* test/lisp/progmodes/heex-ts-mode-tests.el
(heex-ts-mode-test-indentation): Skip the test when 'elixir' is
missing since 'heex-ts-mode' depends on the 'elixir' grammar.

(cherry picked from commit cd557d6f6480cae81c39a451b2a2aaee720ba985)
lisp/progmodes/elixir-ts-mode.el
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/heex-ts-mode-tests.el