Enable the vale linter also for further markup languages (#1230)

* Enable the vale linter also for LaTeX
* Enable the vale linter for rst files
This commit is contained in:
Johannes Wienke 2017-12-18 11:15:00 +01:00 committed by w0rp
parent fdde8af894
commit 1626fce1c9
2 changed files with 18 additions and 0 deletions

9
ale_linters/rst/vale.vim Normal file
View File

@ -0,0 +1,9 @@
" Author: chew-z https://github.com/chew-z
" Description: vale for RST files
call ale#linter#Define('rst', {
\ 'name': 'vale',
\ 'executable': 'vale',
\ 'command': 'vale --output=JSON %t',
\ 'callback': 'ale#handlers#vale#Handle',
\})

9
ale_linters/tex/vale.vim Normal file
View File

@ -0,0 +1,9 @@
" Author: chew-z https://github.com/chew-z
" Description: vale for LaTeX files
call ale#linter#Define('tex', {
\ 'name': 'vale',
\ 'executable': 'vale',
\ 'command': 'vale --output=JSON %t',
\ 'callback': 'ale#handlers#vale#Handle',
\})