Closed shauryagoel closed 19 hours ago
I have the following and it seems to be working correctly
{
"mfussenegger/nvim-lint",
opts = {
linters = {
["markdownlint-cli2"] = {
prepend_args = { "--config", "/home/jrn23/.config/LazyVimDev/.markdownlint-cli2.yaml", "--" },
},
},
},
},
The config by @dpetka2001 works as expected. I think there might be some issue with my config. Sorry for creating noise.
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.2
Operating system/version
MacOS 11.6.1
Describe the bug
I want to disable long line length warning in markdown files. To solve this, I updated this config-
.markdownlint-cli2.yaml-
However, when I open a markdown file, no other diagnostics are being shown. On using
:ConformInfo
, I seemarkdownlint-cli2 unavailable: Condition failed
. However, if I use markdownlint-cli2 in the terminal and pass in the yaml config file, everything works as expected.Steps To Reproduce
~/.config/nvim/.markdownlint-cli2.yaml
.:ConformInfo
.Expected Behavior
Other diagnostics besides the line length are displayed in neovim markdown buffer. Also,
:ConformInfo
shows thatmarkdownlint-cli2
is found.Repro
No response