From: Eli Zaretskii <eliz@gnu.org>
To: Wilhelm Kirschbaum <wkirschbaum@gmail.com>
Cc: 61996@debbugs.gnu.org, theo@thornhill.no, casouri@gmail.com
Subject: bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode
Date: Mon, 06 Mar 2023 13:59:02 +0200 [thread overview]
Message-ID: <83cz5m8515.fsf@gnu.org> (raw)
In-Reply-To: <87mt4qibnk.fsf@gmail.com> (message from Wilhelm Kirschbaum on Mon, 06 Mar 2023 09:04:13 +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.
next prev parent reply other threads:[~2023-03-06 11:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 7:04 bug#61996: 30.0.50; Submitting elixir-ts-mode and heex-ts-mode Wilhelm Kirschbaum
2023-03-06 11:59 ` Eli Zaretskii [this message]
2023-03-06 17:23 ` Wilhelm Kirschbaum
2023-03-06 18:36 ` Eli Zaretskii
2023-03-06 19:24 ` Wilhelm Kirschbaum
2023-03-06 20:14 ` Eli Zaretskii
2023-03-11 9:16 ` Eli Zaretskii
2023-03-11 14:16 ` Dmitry Gutov
2023-03-11 18:27 ` Wilhelm Kirschbaum
2023-03-11 18:01 ` Wilhelm Kirschbaum
2023-03-12 9:00 ` Eli Zaretskii
2023-03-12 9:54 ` Wilhelm Kirschbaum
2023-03-12 11:37 ` Eli Zaretskii
2023-03-12 12:23 ` Wilhelm Kirschbaum
2023-03-12 12:32 ` Wilhelm Kirschbaum
2023-03-12 15:14 ` Wilhelm Kirschbaum
2023-03-12 15:46 ` Eli Zaretskii
2023-03-12 18:02 ` Wilhelm Kirschbaum
2023-03-06 16:41 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83cz5m8515.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=61996@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=theo@thornhill.no \
--cc=wkirschbaum@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.