[Top][All Lists]

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

Re: c-ts-mode

From: Eli Zaretskii
Subject: Re: c-ts-mode
Date: Thu, 07 Sep 2023 12:37:07 +0300

> From: João Távora <joaotavora@gmail.com>
> Date: Thu, 7 Sep 2023 10:25:28 +0100
> Cc: Ergus <spacibba@aol.com>, emacs-devel <emacs-devel@gnu.org>
> On Fri, Sep 1, 2023, 05:15 Yuan Fu <casouri@gmail.com> wrote:
>  C-ts-mode could definitely be improved in terms of customization, and any 
> feature in general.
>  Any help is welcome!
> How difficult would it be, in your opinion, to have c-ts-mode or c++-ts-mode 
> import cc-mode styles as
> treesitter rules? I'd be interested in that feature even if the importation 
> is not 100% accurate.

Some of the styles are already supported.  The rest should also be
possible (at least most of them), but someone will have to write the
code.  It is not a simple matter of "importing", since CC Mode
implements these features based on infrastructure that either doesn't
exist or makes no sense in treesit-supported modes.

reply via email to

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