diff options
author | Ty-Lucas Kelley <tylucaskelley@gmail.com> | 2018-03-03 19:16:41 -0500 |
---|---|---|
committer | Ty-Lucas Kelley <tylucaskelley@gmail.com> | 2018-03-03 19:16:41 -0500 |
commit | 2a575ca551929140c59b824c9a4caf120beb225c (patch) | |
tree | 7f498564e6f68b006d211ca536bb0bdd5a9af181 /ale_linters/markdown | |
parent | 193a4b9336e8e108b1e936a5aedb252253688616 (diff) | |
download | ale-2a575ca551929140c59b824c9a4caf120beb225c.zip |
add basic support for markdownlint
Diffstat (limited to 'ale_linters/markdown')
-rw-r--r-- | ale_linters/markdown/markdownlint.vim | 11 |
1 files changed, 11 insertions, 0 deletions
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 <tylucaskelley@gmail.com> +" 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' +\ }) |