Skip to content

Commit

Permalink
✨ add custom configuration for markdown linter
Browse files Browse the repository at this point in the history
  • Loading branch information
joelazar committed Feb 14, 2025
1 parent 2158439 commit 62cf191
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
config:
MD013: false
MD041: false
11 changes: 11 additions & 0 deletions lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,15 @@ return {
optional = true,
opts = { ensure_installed = { "sql", "gotmpl", "comment" } },
},

{
"mfussenegger/nvim-lint",
opts = {
linters = {
["markdownlint-cli2"] = {
args = { "--config", os.getenv("HOME") .. "/.config/nvim/.markdownlint-cli2.yaml", "--" },
},
},
},
},
}

0 comments on commit 62cf191

Please sign in to comment.