[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode
From: |
Eli Zaretskii |
Subject: |
bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode |
Date: |
Mon, 06 Mar 2023 13:59:02 +0200 |
> Cc: casouri@gmail.com, theo@thornhill.no
> From: Wilhelm Kirschbaum <wkirschbaum@gmail.com>
> Date: Mon, 06 Mar 2023 09:04:13 +0200
>
> I would like to submit elixir-ts-mode and heex-ts-mode to emacs
> master.
Thanks. Please state in the comments to each mode with which grammars
is it compatible, so that users could know from which URL to download
the required grammar libraries. The heex-ts-mode mentions that, but
elixir-ts-mode doesn't, AFAICT.
> +(defcustom heex-ts-mode-indent-offset 2
> + "Indentation of Heex statements."
> + :version "29.1"
I think these modes should go to the master branch, so "30.1" is more
accurate.
> +(if (treesit-ready-p 'elixir)
> + (progn
> + (add-to-list 'auto-mode-alist '("\\.elixir\\'" . elixir-ts-mode))
> + (add-to-list 'auto-mode-alist '("\\.ex\\'" . elixir-ts-mode))
> + (add-to-list 'auto-mode-alist '("\\.exs\\'" . elixir-ts-mode))
> + (add-to-list 'auto-mode-alist '("mix\\.lock" . elixir-ts-mode))))
> +
> +(if (treesit-ready-p 'heex)
> + (add-to-list 'auto-mode-alist '("\\.[hl]?eex\\'" . heex-ts-mode)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Copy/paste error, I presume?
Thanks.
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Wilhelm Kirschbaum, 2023/03/06
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode,
Eli Zaretskii <=
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Wilhelm Kirschbaum, 2023/03/06
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Eli Zaretskii, 2023/03/06
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Wilhelm Kirschbaum, 2023/03/06
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Eli Zaretskii, 2023/03/06
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Eli Zaretskii, 2023/03/11
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Dmitry Gutov, 2023/03/11
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Wilhelm Kirschbaum, 2023/03/11
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Wilhelm Kirschbaum, 2023/03/11
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Eli Zaretskii, 2023/03/12
- bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode, Wilhelm Kirschbaum, 2023/03/12