From 55ca96bd8310737da5e2f7d21587dcdbe6c9f011 Mon Sep 17 00:00:00 2001 From: Johannes Wienke Date: Wed, 13 Dec 2017 14:19:56 +0100 Subject: Add a linter for alex https://github.com/wooorm/alex Enabled for text-like file formats and documented in README and doc. --- ale_linters/asciidoc/alex.vim | 10 ++++++++++ ale_linters/help/alex.vim | 10 ++++++++++ ale_linters/html/alex.vim | 10 ++++++++++ ale_linters/mail/alex.vim | 10 ++++++++++ ale_linters/markdown/alex.vim | 10 ++++++++++ ale_linters/nroff/alex.vim | 10 ++++++++++ ale_linters/pod/alex.vim | 10 ++++++++++ ale_linters/rst/alex.vim | 10 ++++++++++ ale_linters/tex/alex.vim | 10 ++++++++++ ale_linters/texinfo/alex.vim | 10 ++++++++++ ale_linters/text/alex.vim | 10 ++++++++++ ale_linters/xhtml/alex.vim | 10 ++++++++++ 12 files changed, 120 insertions(+) create mode 100644 ale_linters/asciidoc/alex.vim create mode 100644 ale_linters/help/alex.vim create mode 100644 ale_linters/html/alex.vim create mode 100644 ale_linters/mail/alex.vim create mode 100644 ale_linters/markdown/alex.vim create mode 100644 ale_linters/nroff/alex.vim create mode 100644 ale_linters/pod/alex.vim create mode 100644 ale_linters/rst/alex.vim create mode 100644 ale_linters/tex/alex.vim create mode 100644 ale_linters/texinfo/alex.vim create mode 100644 ale_linters/text/alex.vim create mode 100644 ale_linters/xhtml/alex.vim (limited to 'ale_linters') 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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 +" 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', +\}) -- cgit v1.2.3