mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
fix: correct lsp_format opt
This commit is contained in:
parent
cb670e8890
commit
d6fe138e5f
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue