fix: correct lsp_format opt

This commit is contained in:
Rekord 2024-08-21 08:35:49 +00:00
parent cb670e8890
commit d6fe138e5f

View file

@ -22,7 +22,7 @@ return {
python = { "isort", "black" }, python = { "isort", "black" },
}, },
format_on_save = { format_on_save = {
lsp_fallback = true, lsp_format = "callback",
async = false, async = false,
timeout_ms = 1000, timeout_ms = 1000,
}, },
@ -30,7 +30,7 @@ return {
vim.keymap.set({ "n", "v" }, "<leader>mp", function() vim.keymap.set({ "n", "v" }, "<leader>mp", function()
conform.format({ conform.format({
lsp_fallback = true, lsp_format = "callback",
async = false, async = false,
timeout_ms = 1000, timeout_ms = 1000,
}) })