Add Proselint (#185)

* Add Proselint
- Markdown
- Tex
- Text

* Use ale#handler#HandleUnixFormatAsWarning

* Indentation
This commit is contained in:
poohzrn
2016-11-28 10:36:11 +01:00
committed by w0rp
parent e03df80a09
commit 900b4cdff3
4 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
" Author: poohzrn https://github.com/poohzrn
" Description: proselint for tex files
call ale#linter#Define('tex', {
\ 'name': 'proselint',
\ 'executable': 'proselint',
\ 'command': g:ale#util#stdin_wrapper . ' .tex proselint',
\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
\})