diff options
| author | flga <flga@users.noreply.github.com> | 2023-07-06 20:39:38 +0100 |
|---|---|---|
| committer | flga <flga@users.noreply.github.com> | 2023-07-06 20:39:38 +0100 |
| commit | 9e886874e728b038ef39710444262b85d4d452db (patch) | |
| tree | 72483cd76fd986c327089511dce738ed1e692d90 /misc | |
| parent | ce93ef6b66c9e7cd3562945ad21acd27305aef9d (diff) | |
Add a new config option to allow multiline composite literals
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/odinfmt.schema.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/odinfmt.schema.json b/misc/odinfmt.schema.json index 3ca33f7..600bea3 100644 --- a/misc/odinfmt.schema.json +++ b/misc/odinfmt.schema.json @@ -32,6 +32,11 @@ "default": false, "description": "Convert all do statements to brace blocks" }, + "exp_multiline_composite_literals": { + "type": "boolean", + "default": false, + "description": "Experimental: Composite literals that span multiple lines are not forcibly inlined" + }, "brace_style": { "type": "string", "enum": ["_1TBS", "Allman", "Stroustrup", "K_And_R"], |