[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-30 0fd259d166c 1/4: Fix elixir-ts-mode's range query
From: |
john muhl |
Subject: |
Re: emacs-30 0fd259d166c 1/4: Fix elixir-ts-mode's range query |
Date: |
Mon, 09 Sep 2024 18:00:40 -0500 |
User-agent: |
mu4e 1.12.1; emacs 31.0.50 |
The elixir mode tests started failing after this commit.
elixir-ts-mode-tests.log
Description: Text document
Yuan Fu <casouri@gmail.com> writes:
> branch: emacs-30
> commit 0fd259d166c0dca4d097ad026ac748748ba88497
> Author: Yuan Fu <casouri@gmail.com>
> Commit: Yuan Fu <casouri@gmail.com>
>
> Fix elixir-ts-mode's range query
>
> * lisp/progmodes/elixir-ts-mode.el:
> (elixir-ts--treesit-range-rules): Add underscore in front of the name
> capture, so Emacs won't put heex parser on it.
> ---
> lisp/progmodes/elixir-ts-mode.el | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/progmodes/elixir-ts-mode.el
> b/lisp/progmodes/elixir-ts-mode.el
> index 9804152d9ab..815827ed13c 100644
> --- a/lisp/progmodes/elixir-ts-mode.el
> +++ b/lisp/progmodes/elixir-ts-mode.el
> @@ -572,7 +572,9 @@
> (treesit-range-rules
> :embed 'heex
> :host 'elixir
> - '((sigil (sigil_name) @name (:match "^[HF]$" @name) (quoted_content)
> @heex)))))
> + '((sigil (sigil_name) @_name
> + (:match "^[HF]$" @_name)
> + (quoted_content) @heex)))))
>
> (defvar heex-ts--sexp-regexp)
> (defvar heex-ts--indent-rules)
- Re: emacs-30 0fd259d166c 1/4: Fix elixir-ts-mode's range query,
john muhl <=