diff --git a/nvim/.config/nvim/lua/plugins/config/lsp.lua b/nvim/.config/nvim/lua/plugins/config/lsp.lua index 93d7b4a..b537c7f 100644 --- a/nvim/.config/nvim/lua/plugins/config/lsp.lua +++ b/nvim/.config/nvim/lua/plugins/config/lsp.lua @@ -159,7 +159,7 @@ end local null_ls = require("null-ls") null_ls.setup({}) require("mason-null-ls").setup({ - ensure_installed = { "black", "prettier", "shfmt", "eslint-lsp", "stylua", "jq", "vale" }, + ensure_installed = { "black", "prettier", "shfmt", "eslint-lsp", "stylua", "jq", "vale", "markdownlint" }, automatic_installation = false, handlers = { shfmt = function(_, _) @@ -182,6 +182,11 @@ require("mason-null-ls").setup({ extra_filetypes = { "astro" }, })) end, + markdownlint = function(_, _) + null_ls.register(null_ls.builtins.diagnostics.markdownlint.with({ + extra_filetypes = { "quarto" }, + })) + end, vale = function(_, _) null_ls.register(null_ls.builtins.diagnostics.vale.with({ condition = function(utils)