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:
parent
fdde8af894
commit
1626fce1c9
9
ale_linters/rst/vale.vim
Normal file
9
ale_linters/rst/vale.vim
Normal 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
9
ale_linters/tex/vale.vim
Normal 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',
|
||||
\})
|
Loading…
Reference in New Issue
Block a user