Markdown: allow passing custom executable for markdownlint (#4358)

This commit is contained in:
Götz Christ
2022-11-21 05:47:05 -05:00
committed by GitHub
parent 4b433e5693
commit ca355f4cb4
3 changed files with 21 additions and 2 deletions

View File

@@ -7,6 +7,11 @@ After:
Execute(The default command should be correct):
AssertLinter 'markdownlint', ale#Escape('markdownlint') . ' %s'
Execute(The executable should be configurable):
let g:ale_markdown_markdownlint_executable = 'foo bar'
AssertLinter 'foo bar', ale#Escape('foo bar') . ' %s'
Execute(The options should be configurable):
let g:ale_markdown_markdownlint_options = '--config ~/custom/.markdownlintrc'