Subject: bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code

From: Theodor Thornhill <[email-masked]>
Date: Sat, 21 Jan 2023 13:43:12 +0100

Hi!

It seems there has been some regressions wrt indentation styles with the
new brace counting code - for example with bsd style:

Previously:

int
main()
{
  if (x)
  {

  }
  else
  {

  }
}

now:

int
main()
{
  if (x)
  {

    }
  else
  {

    }
}

I'll try to tweak the code so that all indentation styles work and add
tests.

Theo