aboutsummaryrefslogtreecommitdiff
path: root/src/server/format.odin
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-09-22 22:04:24 +0200
committerDanielGavin <danielgavin5@hotmail.com>2025-09-22 22:04:24 +0200
commit28d540bb5f838815e23622d97cd5d3a55776414d (patch)
tree6fbe43699e08753379a2ab00982f0946321ec798 /src/server/format.odin
parent1009de179a717c8b355acb8b1268fedc9b2d089c (diff)
Add new code action: remove unused imports
Diffstat (limited to 'src/server/format.odin')
-rw-r--r--src/server/format.odin4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/format.odin b/src/server/format.odin
index d981b9c..9f30c49 100644
--- a/src/server/format.odin
+++ b/src/server/format.odin
@@ -29,10 +29,6 @@ get_complete_format :: proc(document: ^Document, config: ^common.Config) -> ([]T
return {}, true
}
- if config.enable_import_fixer {
- fix_imports(document)
- }
-
style := format.find_config_file_or_default(filepath.dir(document.fullpath, context.temp_allocator))
prnt := printer.make_printer(style, context.temp_allocator)