From 31e618d776dfe856d570c8d2f973d4abd33e69c2 Mon Sep 17 00:00:00 2001 From: Slashscreen Date: Thu, 6 Feb 2025 14:30:33 -0800 Subject: Add sort_imports 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 f325c25..1edd7db 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" + }, + "sort_imports": { + "type": "boolean", + "default": true, + "description": "Sorts imports alphabetically" } }, "required": [] -- cgit v1.2.3