renzmann / treesit-auto

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

Handle nil recipe for treesit-auto--ready-p check #29

Closed wkirschbaum closed 1 year ago

wkirschbaum commented 1 year ago

This is an issue when using markdown-preview with markdown-mode as there is no html-mode recipe when opening up the html buffer. There is probably a better solution, but this stops the short term crash.

wkirschbaum commented 1 year ago

I was a bit short on time, but can try to push a more comprehensive solution later. This is a quick fix.

renzmann commented 1 year ago

I'll definitely take the quick fix now, though, I just may just flip the let to when-let later on