On 20/12/2022 18:19, Dmitry Gutov wrote: > Okay, so there should be two basic cases: > > - Indent to the beginning of the statement, > - If there was a line continuation (no matter how many), indent 1 extra > level? Here's another quick attempt to make this work without rewriting the rest of the logic. Cases 1 and 2 seem to work now, but not the block example.