Files
doomemacs/modules/tools
Henrik Lissner 94a1fe64a8 fix(tree-sitter): suppress "Can't find grammar" warnings
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).
2025-08-31 14:41:40 +02:00
..
2025-03-25 15:20:58 -04:00
2025-05-15 11:39:50 +02:00
2025-01-09 00:29:41 -05:00
2025-05-15 11:39:50 +02:00
2025-05-02 14:58:40 -04:00
2025-03-25 15:20:58 -04:00
2025-05-15 11:39:50 +02:00
2025-05-15 11:39:50 +02:00
2025-05-06 00:23:14 -04:00
2025-05-15 11:39:50 +02:00
2025-05-15 11:39:50 +02:00
2024-09-14 20:47:39 -04:00
2024-10-31 21:54:20 -04:00
2025-02-21 15:17:42 -05:00
2025-05-11 04:20:06 -04:00
2024-09-14 20:47:39 -04:00
2024-09-14 20:47:39 -04:00

:tools

Description

Modules that integrate external tools into Emacs.

Frequently asked questions

This category has no FAQs yet. Ask one?