Go indentation problem (see .kateconfig)

.kateconfig:

kate: tab-width 4; replace-tabs off; newline-at-eof off;

If you press enter, for some reason the indent will be 2 tabs instead of 1:

package main

import (
		"fmt"
)

func main() {
		if 5 == 5 {
				println("hello")
		}
}

Because of this, I have to use a different editor for Go.

Adding indent-width 4; solved the problem:

kate: tab-width 4; replace-tabs off; newline-at-eof off; indent-width 4;

It’s still strange though - everything was fine in other languages ​​and with the old .kateconfig.