summaryrefslogtreecommitdiff
path: root/ale_linters/tex
diff options
context:
space:
mode:
authorpoohzrn <poohzrn@users.noreply.github.com>2016-11-28 10:36:11 +0100
committerw0rp <w0rp@users.noreply.github.com>2016-11-28 09:36:11 +0000
commit900b4cdff39440f008c91c7896d176928554894b (patch)
tree748067d889207eeb7e398b62aa0afc1c3a1c6b85 /ale_linters/tex
parente03df80a09a3e70b43b9c6908f32b0a838764d03 (diff)
downloadale-900b4cdff39440f008c91c7896d176928554894b.zip
Add Proselint (#185)
* Add Proselint - Markdown - Tex - Text * Use ale#handler#HandleUnixFormatAsWarning * Indentation
Diffstat (limited to 'ale_linters/tex')
-rw-r--r--ale_linters/tex/proselint.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/tex/proselint.vim b/ale_linters/tex/proselint.vim
new file mode 100644
index 00000000..d175c88c
--- /dev/null
+++ b/ale_linters/tex/proselint.vim
@@ -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',
+\})