A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00713.html below:

Re: Tree sitter support for C-like languages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Theodor Thornhill Subject: Re: Tree sitter support for C-like languages Date: Sat, 12 Nov 2022 08:22:29 +0100
>
> I noticed that with the default indent style, Emacs indents like this:
>
> int main () {
>               for (int j = 0; j < 5; j++)
>                 a[j] = 3;
>               int i = 1;
>               swap(i, a[i+1]);
>               Point p = {0, 1};
> }
>
> int main ()
> {
>   for (int j = 0; j < 5; j++)
>     a[j] = 3;
>   int i = 1;
>   swap(i, a[i+1]);
>   Point p = {0, 1};
> }
>
> Is this expected?

Try this one instead:


0001-Add-Tree-Sitter-modes-for-C-like-languages.patch
Description: Text Data


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4