mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
In Emacs <=30, top-level `treesit-ready-p` calls in various *-ts-mode packages (like lua-ts-mode or ruby-ts-mode) are commonplace, and they throw up a warning popup if the grammar isn't available at load time. This is intrusive. Instead, this forces it to log to *Messages* instead before falling back to the normal major mode. Fortunately, these top-level `treesit-ready-p` calls have been removed in most *-ts-mode packages in 31+, but this still impacts users on <=30 or using third party *-ts-modes that haven't adapted. However, this doesn't suppress the warning when opening a *-ts-mode.el file (thanks to the byte-compiler).
:tools
Description
Modules that integrate external tools into Emacs.
Frequently asked questions
This category has no FAQs yet. Ask one?