✨ feat(nvim): markdownlint-cli2 default rule file
This commit is contained in:
parent
b5c9826204
commit
0a9054b83e
2 changed files with 15 additions and 0 deletions
|
@ -35,6 +35,16 @@ return {
|
||||||
filetypes = { "markdown", "txt" },
|
filetypes = { "markdown", "txt" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mfussenegger/nvim-lint",
|
||||||
|
opts = {
|
||||||
|
linters = {
|
||||||
|
["markdownlint-cli2"] = {
|
||||||
|
prepend_args = { "--config", os.getenv("HOME") .. "/.config/nvim/rules/.markdownlint-cli2.yaml", "--" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"MeanderingProgrammer/render-markdown.nvim",
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
5
.config/nvim/rules/.markdownlint-cli2.yaml
Normal file
5
.config/nvim/rules/.markdownlint-cli2.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/main/schema/markdownlint-cli2-config-schema.json
|
||||||
|
config:
|
||||||
|
MD013: false
|
||||||
|
MD033: false
|
||||||
|
MD045: false
|
Loading…
Add table
Reference in a new issue