LazyExtras markdown; How to configure markdownlint? #2268
-
I have installed the LazyExtras package for markdown. It seems to mostly work as expected without configuration. I would like to globally disable a rule for markdownlint. I'm getting complaints that my lines are more than 80 characters and I don't actually care about that rule. I thought I could accomplish this by creating a file This unfortunately had no effect. Can I put something in If I put the .markdownlint.yaml in the same directory as the file in the current buffer, then bingo, works as it should. I want to make global configuration though. Having such a file in every directory I use markdown files would get pretty silly, pretty fast. Any ideas what is going on here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you try the following -- ~/.config/nvim/lua/plugins/lint.lua
return {
{
"mfussenegger/nvim-lint",
opts = {
linters = {
markdownlint = {
args = { "--disable", "MD013", "--" },
},
},
},
},
} Test if it works how you want. |
Beta Was this translation helpful? Give feedback.
-
A more local solution that autoformats the lines. For the The configuration is actually having to do with Make a new file {
"printWidth": 80,
"proseWrap": "always"
}
|
Beta Was this translation helpful? Give feedback.
Can you try the following
Test if it works how you want.