aboutsummaryrefslogtreecommitdiff
path: root/store/home/config/nvim/lua
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-03-27 17:47:45 +0800
committerYuqian Yang <crupest@crupest.life>2025-03-27 17:47:45 +0800
commit8a35f9f6b7fe0fde421d326399f4a0026a09648f (patch)
treecb913b963abb15f15f2ca3d27223242f1ce83457 /store/home/config/nvim/lua
parent61f8bd7e54aaf3fdd1664c322c5fc0a03bfe95f0 (diff)
downloadcrupest-8a35f9f6b7fe0fde421d326399f4a0026a09648f.tar.gz
crupest-8a35f9f6b7fe0fde421d326399f4a0026a09648f.tar.bz2
crupest-8a35f9f6b7fe0fde421d326399f4a0026a09648f.zip
feat(www): update nspawn.md.
Diffstat (limited to 'store/home/config/nvim/lua')
-rw-r--r--store/home/config/nvim/lua/setup/plugins/lint.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/store/home/config/nvim/lua/setup/plugins/lint.lua b/store/home/config/nvim/lua/setup/plugins/lint.lua
index 688e5ca..55ccc2b 100644
--- a/store/home/config/nvim/lua/setup/plugins/lint.lua
+++ b/store/home/config/nvim/lua/setup/plugins/lint.lua
@@ -18,7 +18,19 @@ local cspell = {
fast = true,
}
-local linters = { cspell }
+local markdownlint = {
+ name = "markdownlint",
+ config_patterns = {
+ ".markdownlint.jsonc",
+ ".markdownlint.json",
+ ".markdownlint.yaml",
+ ".markdownlint.yml",
+ ".markdownlintrc",
+ },
+ fast = true,
+}
+
+local linters = { cspell, markdownlint }
local linter_names = vim.tbl_map(function(l) return l.name end, linters)