aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorLucy <lucyperopero@gmail.com>2025-12-21 22:26:10 -0300
committerLucy <lucyperopero@gmail.com>2025-12-21 22:26:10 -0300
commit54d41706bff77584fafb6342d1af4748b3a40a11 (patch)
treebf05eeba51a7aaa10ff56afcb3bacfb8af78ce6b /misc
parent93e39dcad2ad4aa5c07a0d2ff822b76d5f0e4ac5 (diff)
Add option to align struct value assignment
Diffstat (limited to 'misc')
-rw-r--r--misc/odinfmt.schema.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/odinfmt.schema.json b/misc/odinfmt.schema.json
index a55872d..f30c999 100644
--- a/misc/odinfmt.schema.json
+++ b/misc/odinfmt.schema.json
@@ -75,6 +75,11 @@
"type": "boolean",
"default": true,
"description": "Align the types of struct fields so they all start at the same column"
+ },
+ "align_struct_values": {
+ "type": "boolean",
+ "default": true,
+ "description": "Align the values of struct fields when assigning a struct value to a variable so they all start at the same column"
}
},
"required": []