summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorJohannes Wienke <languitar@semipol.de>2017-12-13 14:19:56 +0100
committerJohannes Wienke <languitar@semipol.de>2017-12-13 14:37:42 +0100
commit55ca96bd8310737da5e2f7d21587dcdbe6c9f011 (patch)
tree37b4202596c2b6fd80516309dc10353865fce248 /ale_linters
parent7a88a3605c9bc270bcbc00fbf11aaf2a825d7bae (diff)
downloadale-55ca96bd8310737da5e2f7d21587dcdbe6c9f011.zip
Add a linter for alex
https://github.com/wooorm/alex Enabled for text-like file formats and documented in README and doc.
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/asciidoc/alex.vim10
-rw-r--r--ale_linters/help/alex.vim10
-rw-r--r--ale_linters/html/alex.vim10
-rw-r--r--ale_linters/mail/alex.vim10
-rw-r--r--ale_linters/markdown/alex.vim10
-rw-r--r--ale_linters/nroff/alex.vim10
-rw-r--r--ale_linters/pod/alex.vim10
-rw-r--r--ale_linters/rst/alex.vim10
-rw-r--r--ale_linters/tex/alex.vim10
-rw-r--r--ale_linters/texinfo/alex.vim10
-rw-r--r--ale_linters/text/alex.vim10
-rw-r--r--ale_linters/xhtml/alex.vim10
12 files changed, 120 insertions, 0 deletions
diff --git a/ale_linters/asciidoc/alex.vim b/ale_linters/asciidoc/alex.vim
new file mode 100644
index 00000000..a1e50def
--- /dev/null
+++ b/ale_linters/asciidoc/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for asciidoc files
+
+call ale#linter#Define('asciidoc', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/help/alex.vim b/ale_linters/help/alex.vim
new file mode 100644
index 00000000..9b3e4ee4
--- /dev/null
+++ b/ale_linters/help/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for help files
+
+call ale#linter#Define('help', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/html/alex.vim b/ale_linters/html/alex.vim
new file mode 100644
index 00000000..85dc4fd6
--- /dev/null
+++ b/ale_linters/html/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for HTML files
+
+call ale#linter#Define('html', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/mail/alex.vim b/ale_linters/mail/alex.vim
new file mode 100644
index 00000000..047e6cf0
--- /dev/null
+++ b/ale_linters/mail/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for HTML files
+
+call ale#linter#Define('mail', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/markdown/alex.vim b/ale_linters/markdown/alex.vim
new file mode 100644
index 00000000..1e3e3681
--- /dev/null
+++ b/ale_linters/markdown/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for markdown files
+
+call ale#linter#Define('markdown', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/nroff/alex.vim b/ale_linters/nroff/alex.vim
new file mode 100644
index 00000000..911ac413
--- /dev/null
+++ b/ale_linters/nroff/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for nroff files
+
+call ale#linter#Define('nroff', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/pod/alex.vim b/ale_linters/pod/alex.vim
new file mode 100644
index 00000000..8bc205d4
--- /dev/null
+++ b/ale_linters/pod/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for pod files
+
+call ale#linter#Define('pod', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/rst/alex.vim b/ale_linters/rst/alex.vim
new file mode 100644
index 00000000..1fed7233
--- /dev/null
+++ b/ale_linters/rst/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for rst files
+
+call ale#linter#Define('rst', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/tex/alex.vim b/ale_linters/tex/alex.vim
new file mode 100644
index 00000000..da82856b
--- /dev/null
+++ b/ale_linters/tex/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for TeX files
+
+call ale#linter#Define('tex', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/texinfo/alex.vim b/ale_linters/texinfo/alex.vim
new file mode 100644
index 00000000..41969fdb
--- /dev/null
+++ b/ale_linters/texinfo/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for texinfo files
+
+call ale#linter#Define('texinfo', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/text/alex.vim b/ale_linters/text/alex.vim
new file mode 100644
index 00000000..32d8ce2a
--- /dev/null
+++ b/ale_linters/text/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for text files
+
+call ale#linter#Define('text', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})
diff --git a/ale_linters/xhtml/alex.vim b/ale_linters/xhtml/alex.vim
new file mode 100644
index 00000000..cf073cb2
--- /dev/null
+++ b/ale_linters/xhtml/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for XHTML files
+
+call ale#linter#Define('xhtml', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})