summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/mail/vale.vim4
-rw-r--r--ale_linters/markdown/vale.vim4
-rw-r--r--ale_linters/text/vale.vim4
3 files changed, 6 insertions, 6 deletions
diff --git a/ale_linters/mail/vale.vim b/ale_linters/mail/vale.vim
index 9b30bf65..e6dfd2ec 100644
--- a/ale_linters/mail/vale.vim
+++ b/ale_linters/mail/vale.vim
@@ -4,6 +4,6 @@
call ale#linter#Define('mail', {
\ 'name': 'vale',
\ 'executable': 'vale',
-\ 'command': 'vale --output=line %t',
-\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\ 'command': 'vale --output=JSON %t',
+\ 'callback': 'ale#handlers#vale#Handle',
\})
diff --git a/ale_linters/markdown/vale.vim b/ale_linters/markdown/vale.vim
index 43b3d34a..838c4db2 100644
--- a/ale_linters/markdown/vale.vim
+++ b/ale_linters/markdown/vale.vim
@@ -4,6 +4,6 @@
call ale#linter#Define('markdown', {
\ 'name': 'vale',
\ 'executable': 'vale',
-\ 'command': 'vale --output=line %t',
-\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\ 'command': 'vale --output=JSON %t',
+\ 'callback': 'ale#handlers#vale#Handle',
\})
diff --git a/ale_linters/text/vale.vim b/ale_linters/text/vale.vim
index 60bd799f..cf37c2f8 100644
--- a/ale_linters/text/vale.vim
+++ b/ale_linters/text/vale.vim
@@ -4,6 +4,6 @@
call ale#linter#Define('text', {
\ 'name': 'vale',
\ 'executable': 'vale',
-\ 'command': 'vale --output=line %t',
-\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\ 'command': 'vale --output=JSON %t',
+\ 'callback': 'ale#handlers#vale#Handle',
\})