aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucy <lucyperopero@gmail.com>2025-12-21 12:40:39 -0300
committerLucy <lucyperopero@gmail.com>2025-12-21 12:40:39 -0300
commit93e39dcad2ad4aa5c07a0d2ff822b76d5f0e4ac5 (patch)
tree7ca290b1d8804d169423c7d38c45ec1d3468ec37
parent6dbfafab72eb46239415250a56a40f936d685cac (diff)
Add config parameter to schema
-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 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": []