[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make all tree-sitter modes optional

From: Juri Linkov
Subject: Re: Make all tree-sitter modes optional
Date: Tue, 17 Jan 2023 20:19:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> 1. The user needs to use e.g. js-ts-mode.  Your patch requires that
>> users first visit a js file in js-mode, then they need to type
>>   M-x js-ts-mode RET
>> then for the rest of the session they can use js-ts-mode.
>> But for a new session they need to repeat the same again.
> Or customize auto-mode-alist.
> This is a consequence of the fact that js-ts-mode doesn't have a
> separate .el file.  If you have better ideas for that, I'm all ears.

A better idea is a simple customizable list of enabled ts modes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]