Remove duplicate indent rules in elixir-ts-mode

* lisp/progmodes/elixir-ts-mode.el (elixir-ts-mode): There are
two forms adding heex-ts--indent-rules, remove one of them.
This commit is contained in:
Yuan Fu 2024-10-07 17:27:13 -07:00
parent ed57faafc7
commit 52746ceb62
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -734,9 +734,6 @@ Return nil if NODE is not a defun node or doesn't have a name."
(when (treesit-ready-p 'heex)
(setq-local treesit-range-settings elixir-ts--treesit-range-rules)
(setq-local treesit-simple-indent-rules
(append treesit-simple-indent-rules heex-ts--indent-rules))
(setq-local treesit-font-lock-settings
(append treesit-font-lock-settings
heex-ts--font-lock-settings))