From 93e39dcad2ad4aa5c07a0d2ff822b76d5f0e4ac5 Mon Sep 17 00:00:00 2001 From: Lucy Date: Sun, 21 Dec 2025 12:40:39 -0300 Subject: Add config parameter to schema --- misc/odinfmt.schema.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'misc') diff --git a/misc/odinfmt.schema.json b/misc/odinfmt.schema.json index 6c82dde..a55872d 100644 --- a/misc/odinfmt.schema.json +++ b/misc/odinfmt.schema.json @@ -70,6 +70,11 @@ "type": "boolean", "default": false, "description": "Put spaces around braces of single-line blocks: `{return 0}` => `{ return 0 }`" + }, + "align_struct_fields": { + "type": "boolean", + "default": true, + "description": "Align the types of struct fields so they all start at the same column" } }, "required": [] -- cgit v1.2.3