aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-02-08 20:24:25 +0100
committerGitHub <noreply@github.com>2025-02-08 20:24:25 +0100
commite170595126b2642a8e01d93f7a0e4987a4db9c2b (patch)
tree73d4e4c2ce4d9e2153d50bffa55899a4b496fe5e /misc
parenta27ef1f954a581cefed4a85f8f438d6c42821dce (diff)
parente1cafb6bb11dd6b2b89231ee8241b188a904cf06 (diff)
Merge branch 'master' into spaces_around_colon
Diffstat (limited to 'misc')
-rw-r--r--misc/odinfmt.schema.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/odinfmt.schema.json b/misc/odinfmt.schema.json
index e650851..7984da9 100644
--- a/misc/odinfmt.schema.json
+++ b/misc/odinfmt.schema.json
@@ -56,10 +56,17 @@
"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`"
+ },
+
+ "sort_imports": {
+ "type": "boolean",
+ "default": true,
+ "description": "Sorts imports alphabetically"
}
},
"required": []