[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: treesit indentation "blinking"
From: |
João Távora |
Subject: |
Re: treesit indentation "blinking" |
Date: |
Sun, 02 Apr 2023 22:40:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 02/04/2023 20:23, João Távora wrote:
>> So my initial idea was to tone down electric-indent-chars, at least
>> for the moment. And Dmitry's idea was to make electric-indent-chars
>> be ambitious _only_ if electric-pair-mode is enabled (by the user).
>> Maybe we should bring back that idea, and it seems the least bad of
>> the bunch right now.
>
> Alternatively, we only perform "electric indent" (aside from after
> RET) when the parse tree does not contain errors. Using the hook
> electric-indent-functions instead of altering electric-indent-chars.
If easy to do, that's even better. Then electric-pair-mode doesn't need
to enter the picture at all.
João
- Re: treesit indentation "blinking", (continued)
- Re: treesit indentation "blinking", Eli Zaretskii, 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", 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 <=
- Re: treesit indentation "blinking", Alan Mackenzie, 2023/04/03
- Re: treesit indentation "blinking", João Távora, 2023/04/03
- Re: treesit indentation "blinking", Dmitry Gutov, 2023/04/03
- Re: treesit indentation "blinking", Alan Mackenzie, 2023/04/03
- Re: treesit indentation "blinking", Dmitry Gutov, 2023/04/03
- Re: treesit indentation "blinking", Daniel Colascione, 2023/04/03
- Re: treesit indentation "blinking", Dmitry Gutov, 2023/04/03
- Re: treesit indentation "blinking", João Távora, 2023/04/04
- Re: treesit indentation "blinking", Daniel Martín, 2023/04/07
- Re: treesit indentation "blinking", Dmitry Gutov, 2023/04/07