mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.76k stars 191 forks source link

Add markdownlint-cli2 for package.json configuration & speed #577

Closed izelnakri closed 1 month ago

izelnakri commented 1 month ago

Hi there,

I figured markdownlint doesnt provide a proper and fast CLI for linting markdown files, more importantly in my neovim projects I can't put my linter configurations to package.json with other tools: markdownlint or markdownlint-cli. This is the only one that provides this option.

I don't know whether declaring the linter here triggers mason download of the said package markdownlint-cli2, however I tested that this contribution works when I have markdownlint-cli2 installed. Hope this is sufficient for adding this linter to nvim-lint.

izelnakri commented 1 month ago

@mfussenegger I just added markdownlint-cli2 to the README, thanks for pointing it out!