[Top][All Lists]

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

Re: treesit indentation "blinking"

From: Dmitry Gutov
Subject: Re: treesit indentation "blinking"
Date: Mon, 3 Apr 2023 00:21:18 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

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.

reply via email to

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