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

[Question] Add tree-sitter-scheme #150

Open
FernandoBasso opened this issue Dec 27, 2022 · 1 comment
Open

[Question] Add tree-sitter-scheme #150

FernandoBasso opened this issue Dec 27, 2022 · 1 comment

Comments

@FernandoBasso
Copy link

FernandoBasso commented Dec 27, 2022

I cloned tree-sitter-langs and added tree-sitter-scheme git submodule.

I then run scripts/compile scheme, and get what seems successful result. Still, I don't see the scheme grammar inside bin/ or inside the .tar.tz archive that gets created.

I have this in init.el:

(use-package tree-sitter
  :ensure t)

(add-to-list 'load-path "~/work/src/projects/others/tree-sitter-langs")

(require 'tree-sitter-langs)

(tree-sitter-require 'scheme)

(add-to-list 'tree-sitter-major-mode-language-alist '(scheme-mode . scheme))

Emacs errors out with:

error: Cannot find shared library for language: scheme

What could I be missing?

@meain
Copy link
Member

meain commented Dec 31, 2022

As of now, the project depends on an older version of tree-sitter (0.19.3). You will need that specific (probably a few earlier ones might also work) version to have it work properly unfortunately.

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

2 participants