[Top][All Lists]

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

Re: Tree-sitter and major mode inheritance

From: Dmitry Gutov
Subject: Re: Tree-sitter and major mode inheritance
Date: Sun, 20 Nov 2022 19:12:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 20.11.2022 09:05, Eli Zaretskii wrote:
Why do we need js-base-mode? what will it do?

I was under the impression that it would dispatch either to js-mode or to js-ts-mode based on the value of some global defcustom like treesit-global-modes (similar in structure for font-lock-global-modes).

But I guess not. If that choice is going to be made instead through auto-mode-alist and major-mode-remap-alist.

reply via email to

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