Auto indent - slightly off?


#1

So, bare with my I’m brand new on Atom, so I’m not sure if this is cause because of a package or not. I’m programming Rust code, but the auto indent sort of is a bit off. Example:

match a => {
	1 => {
		return 2;
		},
		_ => {
			return 3
		}
	}

While a desirable result is:

match a => {
	1 => {
		return 2;
	},
	_ => {
		return 3
	}
}

#2

Indentation is handled by the language grammar, in your case presumably this package.

Its repo already has an issue open about indentation, which you can follow: