summaryrefslogtreecommitdiff
path: root/ale_linters/tex
diff options
context:
space:
mode:
authorTANIGUCHI Masaya <xtaniguchimasaya+code@gmail.com>2019-01-27 21:14:34 +0900
committerw0rp <w0rp@users.noreply.github.com>2019-01-27 12:14:34 +0000
commit03b25dd39b40198f7d8e133ad6b59b25c41e2425 (patch)
treec969e85c905fa973d7b740d7d02df8193c37e248 /ale_linters/tex
parent79135dfe13ac1ab4a644eb3bc9f621e7d7336cbe (diff)
downloadale-03b25dd39b40198f7d8e133ad6b59b25c41e2425.zip
Add textlint for tex (#2234)
Diffstat (limited to 'ale_linters/tex')
-rw-r--r--ale_linters/tex/textlint.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/tex/textlint.vim b/ale_linters/tex/textlint.vim
new file mode 100644
index 00000000..0266ed85
--- /dev/null
+++ b/ale_linters/tex/textlint.vim
@@ -0,0 +1,9 @@
+" Author: TANIGUCHI Masaya <ta2gch@gmail.com>
+" Description: textlint for LaTeX files
+
+call ale#linter#Define('tex', {
+\ 'name': 'textlint',
+\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
+\ 'command_callback': 'ale#handlers#textlint#GetCommand',
+\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
+\})