~ashton314/emacs-bedrock#12: 
Problems with yaml mode & tree-sitter

Hello, i got this error message when i ■ Error (use-package): emacs/:config: End of file during parsing: Error reading from stdin
■ Warning (treesit): Cannot activate tree-sitter, because language grammar for yaml is unavailable (no
t-found): (libtree-sitter-yaml libtree-sitter-yaml.0 libtree-sitter-yaml.0.0 libtree-sitter-yaml.so libt
ree-sitter-yaml.so.0 libtree-sitter-yaml.so.0.0) No such file or directory
■ Warning (treesit): Cannot activate tree-sitter, because language grammar for yaml is unavailable (no
t-found): (libtree-sitter-yaml libtree-sitter-yaml.0 libtree-sitter-yaml.0.0 libtree-sitter-yaml.so libt
ree-sitter-yaml.so.0 libtree-sitter-yaml.so.0.0) No such file or directory

Status
REPORTED
Submitter
~thomas-louvigne
Assigned to
No-one
Submitted
1 year, 4 months ago
Updated
1 year, 1 month ago
Labels
No labels applied.

~thomas-louvigne 1 year, 4 months ago*

Sorry , the message was send too quickly ! that the message i got when i open a yaml file :

■  Error (use-package): emacs/:config: End of file during parsing: Error reading from stdin             
■  Warning (treesit): Cannot activate tree-sitter, because language grammar for yaml is unavailable (no\
t-found): (libtree-sitter-yaml libtree-sitter-yaml.0 libtree-sitter-yaml.0.0 libtree-sitter-yaml.so libt\
ree-sitter-yaml.so.0 libtree-sitter-yaml.so.0.0) No such file or directory                               
■  Warning (treesit): Cannot activate tree-sitter, because language grammar for yaml is unavailable (no\
t-found): (libtree-sitter-yaml libtree-sitter-yaml.0 libtree-sitter-yaml.0.0 libtree-sitter-yaml.so libt\
ree-sitter-yaml.so.0 libtree-sitter-yaml.so.0.0) No such file or directory

~ashton314 1 year, 4 months ago

Have you run M-x treesit-install-language-grammar?

There's a comment at the top of the dev.el extra file to run this. TBH the situation with built-in treesitter isn't the best.

~thomas-louvigne 1 year, 2 months ago

Hi, yea , but it won't works. I didn't understand i must install the source. Now it works, thank you.

~thomas-louvigne 1 year, 1 month ago

You can close this ticket

Register here or Log in to comment, or comment via email.