aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJuri Linkov2025-05-01 21:03:34 +0300
committerJuri Linkov2025-05-01 21:03:34 +0300
commitcd557d6f6480cae81c39a451b2a2aaee720ba985 (patch)
tree9e0ad2c0b22473479f6b7a8f9842bd5f47e49de3 /test
parent5684a3808677fb701833c83325cd3bc8de475561 (diff)
downloademacs-cd557d6f6480cae81c39a451b2a2aaee720ba985.tar.gz
emacs-cd557d6f6480cae81c39a451b2a2aaee720ba985.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/progmodes/heex-ts-mode-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/progmodes/heex-ts-mode-tests.el b/test/lisp/progmodes/heex-ts-mode-tests.el
index 01c7ed0fcf1..816d4dd7158 100644
--- a/test/lisp/progmodes/heex-ts-mode-tests.el
+++ b/test/lisp/progmodes/heex-ts-mode-tests.el
@@ -24,7 +24,7 @@
24(require 'treesit) 24(require 'treesit)
25 25
26(ert-deftest heex-ts-mode-test-indentation () 26(ert-deftest heex-ts-mode-test-indentation ()
27 (skip-unless (treesit-ready-p 'heex)) 27 (skip-unless (and (treesit-ready-p 'heex) (treesit-ready-p 'elixir)))
28 (ert-test-erts-file (ert-resource-file "indent.erts"))) 28 (ert-test-erts-file (ert-resource-file "indent.erts")))
29 29
30(provide 'heex-ts-mode-tests) 30(provide 'heex-ts-mode-tests)