Skip to content

Unable to get tree sitter to work #568

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions