summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-03-20 20:27:50 +0000
committerw0rp <devw0rp@gmail.com>2018-03-20 20:27:50 +0000
commit64c95d4881b9ae7b8e25b65240bb403298db16f8 (patch)
treed313ef40b534844e99a251c7612d77133f5f600a /ale_linters
parent57a93cbc04de402686494d47bd4147c827383086 (diff)
parent32091fb8ad01d46084305100f4aa074114141516 (diff)
downloadale-64c95d4881b9ae7b8e25b65240bb403298db16f8.zip
Merge remote-tracking branch 'tylucaskelley/master'
Diffstat (limited to 'ale_linters')
-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'
+\ })