add basic support for markdownlint

This commit is contained in:
Ty-Lucas Kelley
2018-03-03 19:16:41 -05:00
parent 193a4b9336
commit 2a575ca551
4 changed files with 30 additions and 2 deletions
+11
View File
@@ -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'
\ })