2019-12-19 18:11:25 +00:00
|
|
|
Before:
|
|
|
|
call ale#assert#SetUpLinterTest('markdown', 'markdownlint')
|
|
|
|
|
|
|
|
After:
|
|
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
|
2023-09-16 21:22:01 +00:00
|
|
|
Execute(The default markdownlint command should be correct):
|
2019-12-19 18:11:25 +00:00
|
|
|
AssertLinter 'markdownlint', ale#Escape('markdownlint') . ' %s'
|
|
|
|
|
2022-11-21 10:47:05 +00:00
|
|
|
Execute(The executable should be configurable):
|
|
|
|
let g:ale_markdown_markdownlint_executable = 'foo bar'
|
2023-09-16 21:22:01 +00:00
|
|
|
let g:ale_markdown_markdownlint_options = '--option'
|
2022-11-21 10:47:05 +00:00
|
|
|
|
2023-09-16 21:22:01 +00:00
|
|
|
AssertLinter 'foo bar', ale#Escape('foo bar') . ' --option %s'
|