mirror of
https://github.com/dense-analysis/ale
synced 2024-12-12 09:26:42 +00:00
96b90b45db
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.
10 lines
254 B
VimL
10 lines
254 B
VimL
" 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=JSON %t',
|
|
\ 'callback': 'ale#handlers#vale#Handle',
|
|
\})
|