summaryrefslogtreecommitdiff
path: root/ale_linters/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/markdown')
-rw-r--r--ale_linters/markdown/vale.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/markdown/vale.vim b/ale_linters/markdown/vale.vim
new file mode 100644
index 00000000..43b3d34a
--- /dev/null
+++ b/ale_linters/markdown/vale.vim
@@ -0,0 +1,9 @@
+" Author: chew-z https://github.com/chew-z
+" Description: vale for Markdown files
+
+call ale#linter#Define('markdown', {
+\ 'name': 'vale',
+\ 'executable': 'vale',
+\ 'command': 'vale --output=line %t',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\})