|
From: | Dmitry Gutov |
Subject: | Re: An anonymous IRC user's opinion |
Date: | Tue, 19 Nov 2024 21:52:27 +0200 |
User-agent: | Mozilla Thunderbird |
On 19/11/2024 19:59, Juri Linkov wrote:
+(defcustom treesit-enable-modes nil + "Non-nil to enable tree-sitter modes during Emacs's startup." + :type 'boolean + :version "31.1" + :set #'treesit-enable-modes--set)This could support a list to enable ts-modes selectively, e.g. (setq treesit-enable-modes '(elixir-ts-mode js-ts-mode)) to not enable 'c-ts-mode', etc.
Right, that's easy enough - a few extra lines of Lisp.
[Prev in Thread] | Current Thread | [Next in Thread] |