Skip to content

Unable to get tree sitter to work #568

@CeNiEi

Description

@CeNiEi

Running Emacs 30.1 on MacOS 15.1. This is my init.el file


(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.  See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

(use-package rust-mode
  :init
  (setq rust-mode-treesitter-derive t))


Upon opening a rust buffer, the Warning buffer shows

Warning (treesit): Cannot activate tree-sitter, because language grammar for rust is unavailable (version-mismatch): 15

I can confirm that the language object is present at ~/.emacs.d/tree-sitter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions