From 5be4048246def725c11499c8cff8f77da4cd47c4 Mon Sep 17 00:00:00 2001 From: filip <“filip.rabiega@gmail.com”> Date: Sat, 14 Feb 2026 22:40:01 +0100 Subject: fix stuff --- conform.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'conform.lua') diff --git a/conform.lua b/conform.lua index fbefafc..65a50e9 100644 --- a/conform.lua +++ b/conform.lua @@ -14,6 +14,14 @@ return { json = { "json_repair" }, }, + -- Override the default isort configuration + formatters = { + isort = { + -- Remove the --filename argument and just use the file path + args = { "--stdout", "-" }, + }, + }, + format_on_save = { lsp_fallback = true, -- Use LSP if no dedicated formatter is found async = false, -- Formatting must be synchronous to save correctly -- cgit v1.2.3