-
Notifications
You must be signed in to change notification settings - Fork 132
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
Installing built grammars #163
Comments
You don't have to build the grammars yourself, you just have to require this package. If you are using (use-package tree-sitter-langs
:ensure t
:after tree-sitter) |
Still getting the error
I am using emacs-29 branch though. |
We don't have compatibility with builtin treesit package which is what it looks like you are trying to use. This repo only works with https://github.com/emacs-tree-sitter/elisp-tree-sitter as of now. There is some discussion about supporting builtin treesit which you can follow at #157 |
You can find more info about installing grammars for builtin tree-sitter at https://archive.casouri.cc/note/2023/tree-sitter-starter-guide/#Install%20language%20definitions . Here are a few other links to help you with built in tree-sitter: |
Ohhhh I see! I didn't realize they were separate packages. Thank you for clarifying. |
You can follow it at #144 |
Hi. I'm a little unclear on what to do with the grammars after they're built? Unless I'm reading them wrong the documentation doesn't say how to install them so that tree-sitter CLI and emacs understand it, just how to build them.
The text was updated successfully, but these errors were encountered: