tree-sitter-langs icon indicating copy to clipboard operation
tree-sitter-langs copied to clipboard

[Question] Add tree-sitter-scheme

Open FernandoBasso opened this issue 2 years ago • 1 comments

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?

FernandoBasso avatar Dec 27 '22 17:12 FernandoBasso