mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
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.
This commit is contained in:
parent
2329b36b1f
commit
0fd259d166
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user