From 2a575ca551929140c59b824c9a4caf120beb225c Mon Sep 17 00:00:00 2001 From: Ty-Lucas Kelley Date: Sat, 3 Mar 2018 19:16:41 -0500 Subject: add basic support for markdownlint --- ale_linters/markdown/markdownlint.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ale_linters/markdown/markdownlint.vim (limited to 'ale_linters') diff --git a/ale_linters/markdown/markdownlint.vim b/ale_linters/markdown/markdownlint.vim new file mode 100644 index 00000000..5c8af650 --- /dev/null +++ b/ale_linters/markdown/markdownlint.vim @@ -0,0 +1,11 @@ +" Author: Ty-Lucas Kelley +" Description: Adds support for markdownlint + +call ale#linter#Define('markdown', { + \ 'name': 'markdownlint', + \ 'executable': 'markdownlint', + \ 'lint_file': 1, + \ 'output_stream': 'both', + \ 'command': 'markdownlint %s', + \ 'callback': 'ale#handlers#markdownlint#Handle' +\ }) -- cgit v1.2.3