feat(markdown): configure conform for markdown files (#2308)

This commit is contained in:
Peter Benjamin 2024-05-21 14:03:43 -07:00 committed by GitHub
parent 79608fbc4f
commit 9eec03d890
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,15 @@ return {
root = "README.md", root = "README.md",
}) })
end, end,
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters_by_ft = {
markdown = { { "prettierd", "prettier" }, "markdownlint", "markdown-toc" },
},
},
},
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = function(_, opts) opts = function(_, opts)