[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: treesit indentation "blinking"
From: |
Eli Zaretskii |
Subject: |
Re: treesit indentation "blinking" |
Date: |
Sun, 02 Apr 2023 08:31:41 +0300 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 1 Apr 2023 18:49:46 -0700
> Cc: theodor thornhill <theo@thornhill.no>,
> geza.herman@gmail.com,
> Daniel Colascione <dancol@dancol.org>,
> emacs-devel@gnu.org
>
> If you enable electric-pair-mode so that the brackets are always balanced,
> then both c-ts-mode and c++-ts-mode should work fine.
>
> Trying to solve this with heuristics is going against to grain, IMO. I think
> it’s acceptable to say that users of ts-modes should enabled
> electric-pair-mode, since it’s based on a parser, after all.
I'm okay with that conclusion. An alternative is to use "C-c C-q"
after typing the final brace.
- Re: treesit indentation "blinking", Yuan Fu, 2023/04/01
- Re: treesit indentation "blinking", Yuan Fu, 2023/04/01
- Re: treesit indentation "blinking",
Eli Zaretskii <=
- Re: treesit indentation "blinking", Alan Mackenzie, 2023/04/02
- Re: treesit indentation "blinking", João Távora, 2023/04/02
- Re: treesit indentation "blinking", Alan Mackenzie, 2023/04/02
- Re: treesit indentation "blinking", João Távora, 2023/04/02
- Re: treesit indentation "blinking", Eli Zaretskii, 2023/04/02
- Re: treesit indentation "blinking", João Távora, 2023/04/02
- Re: treesit indentation "blinking", Eli Zaretskii, 2023/04/02
- Re: treesit indentation "blinking", João Távora, 2023/04/02
- Re: treesit indentation "blinking", Dmitry Gutov, 2023/04/02
- Re: treesit indentation "blinking", João Távora, 2023/04/02