summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGötz Christ <2220440+goetzc@users.noreply.github.com>2022-11-21 05:47:05 -0500
committerGitHub <noreply@github.com>2022-11-21 19:47:05 +0900
commitca355f4cb45ea3508548045ca7b9cc73f3741e69 (patch)
treef80d37a49fc27186b906f6be8e63b9bad7cade79 /test
parent4b433e5693ccec8e408504c4b139b8f7cc6a4aa3 (diff)
downloadale-ca355f4cb45ea3508548045ca7b9cc73f3741e69.zip
Markdown: allow passing custom executable for markdownlint (#4358)
Diffstat (limited to 'test')
-rw-r--r--test/linter/test_markdown_markdownlint.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/linter/test_markdown_markdownlint.vader b/test/linter/test_markdown_markdownlint.vader
index 12766cfd..b938ac41 100644
--- a/test/linter/test_markdown_markdownlint.vader
+++ b/test/linter/test_markdown_markdownlint.vader
@@ -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'