renzmann / treesit-auto

Automatic installation, usage, and fallback for tree-sitter major modes in Emacs 29
GNU General Public License v3.0
353 stars 27 forks source link

treesit-auto-install-all does not install/find its installation #70

Closed lechten closed 7 months ago

lechten commented 7 months ago

I'm on GNU Emacs 30.0.50 with treesit-auto-20231121.956. If I do M-x treesit-auto-install-all, lots of grammars are reported to be missing:

The following tree-sitter grammars are/were missing:
awk
bash
bibtex
c
c-sharp
clojure
cmake
commonlisp
cpp
css
dart
dockerfile
elixir
go
gomod
heex
html
java
javascript
json
julia
kotlin
latex
lua
make
markdown
proto
python
r
ruby
rust
toml
tsx
typescript
typst
verilog
vhdl
yaml

I say y to install them and find libraries installed under ~/.emacs.d/tree-sitter.

If I execute M-x treesit-auto-install-all again, the same libraries are reported to be missing.

If I load a markdown file, the following Lisp error occurs, which may be related to #69: (void-function markdown-ts-mode)

Other modes such as python and yaml do work, I can execute M-x treesit-explore-mode despite the above message about missing grammars.

What is wrong?

renzmann commented 7 months ago

Thanks for the bug report! Fixed in 1.0.1

lechten commented 7 months ago

Many thanks for the quick fix!