nvim: Disable prettier for markdown files

This commit is contained in:
Marty Oehme 2023-07-25 12:03:44 +02:00
parent 55518886f8
commit 17dbb6a5ab
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -154,6 +154,7 @@ require("mason-null-ls").setup({
prettier = function(_, _) prettier = function(_, _)
null_ls.register(null_ls.builtins.formatting.prettier.with({ null_ls.register(null_ls.builtins.formatting.prettier.with({
extra_filetypes = { "astro" }, extra_filetypes = { "astro" },
disabled_filetypes = { "markdown" },
timeout = 7000, timeout = 7000,
})) }))
end, end,