fix: update to none-ls/conform

This commit is contained in:
Markis Taylor 2023-10-08 15:34:30 -04:00
parent 3a2378099f
commit a9eaf7bb9a
No known key found for this signature in database
GPG key ID: C68B98BB2C9437B8

View file

@ -6,10 +6,20 @@ return {
end, end,
}, },
{ {
"jose-elias-alvarez/null-ls.nvim", "nvimtools/none-ls.nvim",
optional = true,
opts = function(_, opts) opts = function(_, opts)
local nls = require("null-ls") local nls = require("null-ls")
table.insert(opts.sources, nls.builtins.formatting.black) table.insert(opts.sources, nls.builtins.formatting.black)
end, end,
}, },
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters_by_ft = {
["python"] = { { "blackd", "black" } },
},
},
},
} }