aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSlashScreen <tallesttower1@gmail.com>2025-02-06 13:28:26 -0800
committerSlashscreen <SlashScreen@users.noreply.github.com>2025-02-06 14:06:35 -0800
commita27ef1f954a581cefed4a85f8f438d6c42821dce (patch)
treeb9cce9c7c8189c7085f34c0625ec8be17a763aa5 /misc
parent94822db4b5dd90c39020fb48f89532e0f44e7110 (diff)
spacess around colons
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 f325c25..e650851 100644
--- a/misc/odinfmt.schema.json
+++ b/misc/odinfmt.schema.json
@@ -55,6 +55,11 @@
"type": "boolean",
"default": false,
"description": "When statement in the clause contains one simple statement, it will inline the case and statement in one line"
+ },
+ "spaces_around_colons": {
+ "type": "boolean",
+ "default": false,
+ "description": "Put a space on both sides of a single colon during variable/field declaration, such as `foo : bar`"
}
},
"required": []