Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get tree sitter to work #568

Open
CeNiEi opened this issue Apr 4, 2025 · 0 comments
Open

Unable to get tree sitter to work #568

CeNiEi opened this issue Apr 4, 2025 · 0 comments

Comments

@CeNiEi
Copy link

CeNiEi commented Apr 4, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant