fix conform conf

This commit is contained in:
Tiago Sousa 2024-03-05 18:09:12 +00:00
parent 0f6dee5c9a
commit 2c60ab3c36
Signed by: tiago
SSH key fingerprint: SHA256:odOD9vln9U7qNe1R8o3UCbE3jkQCkr5/q5mgd5hwua0

View file

@ -2,14 +2,16 @@ return {
"stevearc/conform.nvim",
config = function()
require("conform").setup({
lua = { "stylua" },
python = { "isort", "blue" },
javascript = { "prettierd" },
typescript = { "prettierd" },
html = { "prettierd" },
json = { "prettierd" },
yaml = { "prettierd" },
markdown = { "prettierd" },
formatters_by_ft = {
lua = { "stylua" },
python = { "isort", "black" },
javascript = { "prettierd" },
typescript = { "prettierd" },
html = { "prettierd" },
json = { "prettierd" },
yaml = { "prettierd" },
markdown = { "prettierd" },
}
})
-- vim.api.nvim_create_autocmd("BufWritePre", {
-- pattern = "*",