From: mprodrigues@posteo.net
To: Emacs devel <emacs-devel@gnu.org>
Subject: Treesit says grammar is unavailable when it
Date: Fri, 10 Mar 2023 09:24:25 +0000 [thread overview]
Message-ID: <e2b3367e146a9a19f11f7f2a665eb8db@posteo.net> (raw)
Hello,
I've been trying to test the new tree-sitter modes, but I'm having some
difficulties and would like to debug this. I have tried
dockerfile-ts-mode,
python-ts-mode and yaml-ts-mode, of these only dockerfile worked, for
the other two I get:
Warning (treesit): Cannot activate tree-sitter, because language grammar
for python is unavailable (not-found): (libtree-sitter-python
libtree-sitter-python.so)
No such file or directory
but I have yaml and python's grammar under ~/.emacs.d/tree-sitter
I tried compiling the grammars myself and use emacs's own
treesit-install-language-grammar to no avail. How can I debug this?
My emacs version is 30.0.50
Best regards,
Mateus Rodrigues
next reply other threads:[~2023-03-10 9:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 9:24 mprodrigues [this message]
2023-03-10 12:32 ` Treesit says grammar is unavailable when it Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2023-12-04 12:43 Gernot Kieseritzky
2023-12-13 3:33 ` Yuan Fu
2023-12-13 12:00 ` Eli Zaretskii
2023-12-14 8:14 ` Yuan Fu
2023-12-14 8:27 ` Eli Zaretskii
2023-12-15 2:43 ` Madhu
2023-12-15 9:00 ` Eli Zaretskii
2023-12-17 6:31 ` Yuan Fu
2023-12-17 8:32 ` Eli Zaretskii
2023-12-27 6:41 ` Yuan Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e2b3367e146a9a19f11f7f2a665eb8db@posteo.net \
--to=mprodrigues@posteo.net \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).