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 authored and w0rp committed 2017-12-18 10:15:00 +00:00
1 parent fdde8af894
commit 1626fce1c9
2 files changed
+18

No files matched your search

+9
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
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',
\})