summaryrefslogtreecommitdiff
path: root/ale_linters/tex
diff options
context:
space:
mode:
authorJohannes Wienke <languitar@semipol.de>2017-12-18 11:15:00 +0100
committerw0rp <w0rp@users.noreply.github.com>2017-12-18 10:15:00 +0000
commit1626fce1c933d96f891f2a1caaf30c489f6c3e1c (patch)
tree6f6cd6b72085692efe14c8cd118e36ffe5ac515f /ale_linters/tex
parentfdde8af894772d489bf8105d9d056ccfef31cd8b (diff)
downloadale-1626fce1c933d96f891f2a1caaf30c489f6c3e1c.zip
Enable the vale linter also for further markup languages (#1230)
* Enable the vale linter also for LaTeX * Enable the vale linter for rst files
Diffstat (limited to 'ale_linters/tex')
-rw-r--r--ale_linters/tex/vale.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/tex/vale.vim b/ale_linters/tex/vale.vim
new file mode 100644
index 00000000..f64e72ac
--- /dev/null
+++ b/ale_linters/tex/vale.vim
@@ -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',
+\})