From 7be79aace78ab1af6e69f54f3977cdd3aa5ad207 Mon Sep 17 00:00:00 2001 From: Shaun Setlock Date: Sat, 28 Jun 2025 16:28:47 -0400 Subject: [PATCH] Add lua script and hidden config file. --- nvim/lua/plugins/.markdownlint-cli2.yml | 2 ++ nvim/lua/plugins/markdownlint-cli2.lua | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 nvim/lua/plugins/.markdownlint-cli2.yml create mode 100644 nvim/lua/plugins/markdownlint-cli2.lua diff --git a/nvim/lua/plugins/.markdownlint-cli2.yml b/nvim/lua/plugins/.markdownlint-cli2.yml new file mode 100644 index 0000000..9358a7f --- /dev/null +++ b/nvim/lua/plugins/.markdownlint-cli2.yml @@ -0,0 +1,2 @@ +config: + MD013: false diff --git a/nvim/lua/plugins/markdownlint-cli2.lua b/nvim/lua/plugins/markdownlint-cli2.lua new file mode 100644 index 0000000..7707cd2 --- /dev/null +++ b/nvim/lua/plugins/markdownlint-cli2.lua @@ -0,0 +1,12 @@ +local HOME = os.getenv("HOME") +return { + "mfussenegger/nvim-lint", + optional = true, + opts = { + linters = { + ["markdownlint-cli2"] = { + args = { "--config", HOME .. "/.config/nvim/lua/plugins/.markdownlint-cli2.yaml", "--" }, + }, + }, + }, +} -- 2.49.1