Skip to content

Commit e3cce92

Browse files
authored
fix(diagnostics): fix markdownlint-cli2 failing (#295)
markdownlint_cli2 prints usage and exits when no targets are specified.
1 parent 3ce66bc commit e3cce92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/null-ls/builtins/diagnostics/markdownlint_cli2.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ return h.make_builtin({
1717
filetypes = { "markdown" },
1818
generator_opts = {
1919
command = "markdownlint-cli2",
20+
args = { "$FILENAME" },
2021
from_stderr = true,
2122
format = "line",
2223
multiple_files = true,

0 commit comments

Comments
 (0)