summaryrefslogtreecommitdiff
path: root/ale_linters/markdown/markdownlint.vim
diff options
context:
space:
mode:
authorTy-Lucas Kelley <tylucaskelley@gmail.com>2018-03-03 19:16:41 -0500
committerTy-Lucas Kelley <tylucaskelley@gmail.com>2018-03-03 19:16:41 -0500
commit2a575ca551929140c59b824c9a4caf120beb225c (patch)
tree7f498564e6f68b006d211ca536bb0bdd5a9af181 /ale_linters/markdown/markdownlint.vim
parent193a4b9336e8e108b1e936a5aedb252253688616 (diff)
downloadale-2a575ca551929140c59b824c9a4caf120beb225c.zip
add basic support for markdownlint
Diffstat (limited to 'ale_linters/markdown/markdownlint.vim')
-rw-r--r--ale_linters/markdown/markdownlint.vim11
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'
+\ })