default to indent 2
This commit is contained in:
parent
059d1bcc25
commit
55a0a3366b
@ -26,7 +26,7 @@ import java.util.Objects;
|
||||
public class Json5ParserStrategy extends ParserStrategy {
|
||||
|
||||
private static final Json5 JSON5 = Json5.builder(builder ->
|
||||
builder.allowInvalidSurrogate().trailingComma().indentFactor(4).build());
|
||||
builder.allowInvalidSurrogate().trailingComma().indentFactor(2).build());
|
||||
|
||||
public Json5ParserStrategy(@NotNull ProjectSettings settings) {
|
||||
super(settings);
|
||||
|
@ -46,7 +46,7 @@ public interface Section {
|
||||
}
|
||||
static String toString(Section section) {
|
||||
DumperOptions options = new DumperOptions();
|
||||
options.setIndent(4);
|
||||
options.setIndent(2);
|
||||
options.setAllowUnicode(true);
|
||||
options.setPrettyFlow(true);
|
||||
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
|
||||
|
Loading…
x
Reference in New Issue
Block a user