From f9b8a73ca4af42235b76e6f89270f6f9e0a438da Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 5 Sep 2023 13:34:44 +0100 Subject: [PATCH] fix(nvim): ignore line lengths in markdown files --- lua/opdavies/lsp/null-ls.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/opdavies/lsp/null-ls.lua b/lua/opdavies/lsp/null-ls.lua index 26fcd3c..26d3bfa 100644 --- a/lua/opdavies/lsp/null-ls.lua +++ b/lua/opdavies/lsp/null-ls.lua @@ -28,7 +28,9 @@ null_ls.setup { return utils.root_has_file { ".eslintrc.js" } end, }, - diagnostics.markdownlint, + diagnostics.markdownlint.with { + extra_args = { "--disable", "MD013" } + }, diagnostics.php, diagnostics.phpcs.with { command = "./vendor/bin/phpcs",