mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
If the base major mode doesn't exist, let's assume we want no fallthrough for this major mode (in the event the grammar isn't ready) and simply push forward anyway, even if a missing grammar results in a broken state. This will particularly affect major modes like `typescript-mode` (which simply won't be installed if +tree-sitter is enabled) and `go-{mod,work}-ts-mode` (for which no base major modes exist). The difference (generally) between most base and ts-modes is performance, not features, so "gracefully failing back to the base mode" makes sense UX-wise, but `typescript-mode` notably inferior to `typescript-ts-mode` (particularly in its TSX support). Beginners may misidentify its shortcomings as bugs, so it's better to simply error out early so the user can be made aware of the problem sooner and less ambiguously.
:tools
Description
Modules that integrate external tools into Emacs.
Frequently asked questions
This category has no FAQs yet. Ask one?