From 17dbb6a5aba29b75667a8a12b74b84fbb1e6d9c3 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 25 Jul 2023 12:03:44 +0200 Subject: [PATCH] nvim: Disable prettier for markdown files --- nvim/.config/nvim/lua/plugins/config/lsp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/.config/nvim/lua/plugins/config/lsp.lua b/nvim/.config/nvim/lua/plugins/config/lsp.lua index 65e6c4b..d7d0129 100644 --- a/nvim/.config/nvim/lua/plugins/config/lsp.lua +++ b/nvim/.config/nvim/lua/plugins/config/lsp.lua @@ -154,6 +154,7 @@ require("mason-null-ls").setup({ prettier = function(_, _) null_ls.register(null_ls.builtins.formatting.prettier.with({ extra_filetypes = { "astro" }, + disabled_filetypes = { "markdown" }, timeout = 7000, })) end,