Closed domq closed 6 months ago
Now with an implementation that honors the (not)
forms.
I think this was solved by #63 ? If so, I'll vote to close this one out. In the end we opted for treesit-auto-langs
instead of modifying the global-treesit-auto-modes
, but I'm pretty sure the end behavior is the same.
Thanks for providing #63! I tested it successfully, and I'm therefore withdrawing #46.
Fixes #35
In
treesit-auto--set-major-remap
, bail if the major mode we are switching to is not part ofglobal-treesit-auto-modes
. The latter is a variable that was already declared, kind of by mistake, as part of the call todefine-globalized-minor-mode
.Here is how to configure treesit-auto to apply to bash only: