diff --git a/.config/nvim/lua/josean/plugins/formatting.lua b/.config/nvim/lua/josean/plugins/formatting.lua index 074c931..c9f00b7 100644 --- a/.config/nvim/lua/josean/plugins/formatting.lua +++ b/.config/nvim/lua/josean/plugins/formatting.lua @@ -22,7 +22,7 @@ return { python = { "isort", "black" }, }, format_on_save = { - lsp_fallback = true, + lsp_format = "callback", async = false, timeout_ms = 1000, }, @@ -30,7 +30,7 @@ return { vim.keymap.set({ "n", "v" }, "mp", function() conform.format({ - lsp_fallback = true, + lsp_format = "callback", async = false, timeout_ms = 1000, })