From fdedd7e5b4dc0ee479208cf7fa856be6a8e2538f Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Thu, 4 Jan 2024 16:33:49 -0800 Subject: [PATCH] feat(markdown): configure conform for markdown files --- lua/lazyvim/plugins/extras/lang/markdown.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/markdown.lua b/lua/lazyvim/plugins/extras/lang/markdown.lua index 5aa9dc33..daf12d2f 100644 --- a/lua/lazyvim/plugins/extras/lang/markdown.lua +++ b/lua/lazyvim/plugins/extras/lang/markdown.lua @@ -1,4 +1,13 @@ return { + { + "stevearc/conform.nvim", + optional = true, + opts = { + formatters_by_ft = { + markdown = { { "prettierd", "prettier" }, "markdownlint", "markdown-toc" }, + }, + }, + }, { "nvim-treesitter/nvim-treesitter", opts = function(_, opts)