Closed aspiers closed 6 months ago
This also affects buffers with so-long
mode enabled.
Thanks for catching this. I made simple patch to just check if buffer-file-name
is a string before checking file-exists-p
in #80. Feel free to open a new issue if it isn't resolved
I just tried installation by executing your provided snippet:
It prompted to install a few grammars which were perfect choices based on the files I had open, so I typed a
y
response to each of those prompts. However after about 4 or 5 grammars, it yielded the following error:I assume this comes from this code in
treesit-auto--maybe-install-grammar
:Somehow it must have executed on a buffer which wasn't backed by a file, so
buffer-file-name
wasnil
.