diff options
author | Johannes Wienke <languitar@semipol.de> | 2017-12-17 16:49:57 +0100 |
---|---|---|
committer | Johannes Wienke <languitar@semipol.de> | 2017-12-17 16:49:57 +0100 |
commit | 96b90b45db5070c964adb14f1a0ac67c61571648 (patch) | |
tree | ca4986326a7b316b49f7710b3a7638842fee0ff5 /ale_linters/markdown | |
parent | c4956657dc519aaae679b5a04af9b63b0aacabbe (diff) | |
download | ale-96b90b45db5070c964adb14f1a0ac67c61571648.zip |
Use JSON output with vale
Switches all vale instances to JSON output and provides an appropriate
handler for that. Without JSON, no end_col is provided and text
highlighting only catches the first character of every result.
Diffstat (limited to 'ale_linters/markdown')
-rw-r--r-- | ale_linters/markdown/vale.vim | 4 |
1 files changed, 2 insertions, 2 deletions
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', \}) |