|
From: | Dmitry Gutov |
Subject: | Re: treesit indentation "blinking" |
Date: | Thu, 30 Mar 2023 12:36:25 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 30/03/2023 12:28, João Távora wrote:
This problematic already counts as "bouncing" to me, for some meaning of "bouncing". c++-mode doesn't behave like that because indentation is already where it is supposed to be if you type that sequence of keystrokes.
Okay, if that's what you meant.I think this one (indentation after RET in an incomplete function definition) should be fixed in the indentation rules. The contents of electric-indent-chars won't fix it either way.
And did you try the final example that I showed in the animated gif? That's even more "bouncy", at least in my book.
Yep, I see that. Also seems like something that could be improved in the indentation rules. When there is just one or no semis inside for's parens, we get ERROR nodes. I guess some rule is hit that should not be hit.
[Prev in Thread] | Current Thread | [Next in Thread] |