Skip to content

Treesit Query Error #52

@Shinmera

Description

@Shinmera

Hi, since a recent-ish update whenever I open a file with elixir-ts-mode I get the following messages:

Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Syntax error at" 34 "(sigil (sigil_name) @name (#match \"^[HF]$\" @name) (quoted_content) @heex)" "Debug the query with `treesit-query-validate'")
Error during redisplay: (jit-lock-function 1501) signaled (treesit-query-error "Syntax error at" 34 "(sigil (sigil_name) @name (#match \"^[HF]$\" @name) (quoted_content) @heex)" "Debug the query with `treesit-query-validate'")

And no syntax highlighting is performed at all.

My relevant config looks like this, using straight.el:

(use-package elixir-ts-mode
  :commands (elixir-ts-mode)
  :mode ("\\.exs?" . elixir-mode))

(use-package flycheck-credo
  :demand t
  :after (elixir-ts-mode flycheck)
  :hook
  (elixir-mode-hook . flycheck-mode)
  (elixir-ts-mode-hook . flycheck-mode)
  :config (flycheck-credo-setup))

(use-package alchemist
  :demand t
  :after (elixir-ts-mode))

Emacs: 30.2
elixir-ts-mode: e518e9a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions