|
From: | Gregory Heytings |
Subject: | Re: Make all tree-sitter modes optional |
Date: | Fri, 17 Feb 2023 15:15:53 +0000 |
May I suggest the following: enclose the (if (treesit-ready-p ...) (add-to-list 'auto-mode-alist ...))statements in a conditional, say (when treesit-add-to-auto-mode-alist ...), where treesit-add-to-auto-mode-alist would be a defcustom defaulting to t?
This would make it possible for users who don't want that behavior to turn it off, and would make everyone happy (I hope).
[Prev in Thread] | Current Thread | [Next in Thread] |