[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree sitter support for C-like languages
From: |
Theodor Thornhill |
Subject: |
Re: Tree sitter support for C-like languages |
Date: |
Thu, 10 Nov 2022 19:19:12 +0100 |
On 10 November 2022 19:03:52 CET, Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
>> See the attached patch for support for several C-like languages.
>>
>> They all support:
>> - Font locking
>> - Indentation (with styles for c/c++)
>> - Movement
>> - Imenu
>> - Which-func
>>
>> These modes are meant as a supplement to tree-sitter.
>
>Thanks.
>
>Have you tried to replace `c-mode` with a simple dispatch function that
>either delegates to `c-ts-mode` or to `cc-c-mode`?
>(and same for `c++-mode`, of course)
>
>
> Stefan
>
No not yet, i believe Eli thinks that's a little premature - If we want that I
can make such an attempt. I'll let the grown-ups decide :)
- Tree sitter support for C-like languages, Theodor Thornhill, 2022/11/10
- Re: Tree sitter support for C-like languages, Stefan Monnier, 2022/11/10
- Re: Tree sitter support for C-like languages, Yuan Fu, 2022/11/10
- Re: Tree sitter support for C-like languages, Theodor Thornhill, 2022/11/12
- Re: Tree sitter support for C-like languages, Yuan Fu, 2022/11/12
- Re: Tree sitter support for C-like languages, Theodor Thornhill, 2022/11/12