diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-02-10 23:43:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-10 23:43:43 +0000 |
commit | 6ebe24b5ffcd8536c613a4f12d07ccadbfb07cd8 (patch) | |
tree | 1f4f2f8ebd0a63c7dbc835914843f87863696e75 /ale_linters | |
parent | 752e6f0ab9201483745caa052cada0afcd078d82 (diff) | |
parent | 771581a945c677a96ccb33f17c8892de42a5e939 (diff) | |
download | ale-6ebe24b5ffcd8536c613a4f12d07ccadbfb07cd8.zip |
Merge pull request #2268 from m-pilia/alex
Add settings for the Alex linter
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/asciidoc/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/help/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/html/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/mail/alex.vim | 11 | ||||
-rw-r--r-- | ale_linters/markdown/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/nroff/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/po/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/pod/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/rst/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/tex/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/texinfo/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/text/alex.vim | 9 | ||||
-rw-r--r-- | ale_linters/xhtml/alex.vim | 9 |
13 files changed, 14 insertions, 105 deletions
diff --git a/ale_linters/asciidoc/alex.vim b/ale_linters/asciidoc/alex.vim index 79b04fc3..97976b2c 100644 --- a/ale_linters/asciidoc/alex.vim +++ b/ale_linters/asciidoc/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for asciidoc files -call ale#linter#Define('help', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('asciidoc', '--text') diff --git a/ale_linters/help/alex.vim b/ale_linters/help/alex.vim index 21b23b4f..9be00a82 100644 --- a/ale_linters/help/alex.vim +++ b/ale_linters/help/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for help files -call ale#linter#Define('help', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('help', '--text') diff --git a/ale_linters/html/alex.vim b/ale_linters/html/alex.vim index 5a1f61e9..97756753 100644 --- a/ale_linters/html/alex.vim +++ b/ale_linters/html/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for HTML files -call ale#linter#Define('html', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('html', '--html') diff --git a/ale_linters/mail/alex.vim b/ale_linters/mail/alex.vim index b0651ccd..0fceea7b 100644 --- a/ale_linters/mail/alex.vim +++ b/ale_linters/mail/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> -" Description: alex for HTML files +" Description: alex for mail files -call ale#linter#Define('mail', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('mail', '--text') diff --git a/ale_linters/markdown/alex.vim b/ale_linters/markdown/alex.vim index 29306141..63769b5e 100644 --- a/ale_linters/markdown/alex.vim +++ b/ale_linters/markdown/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for markdown files -call ale#linter#Define('markdown', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('markdown', '') diff --git a/ale_linters/nroff/alex.vim b/ale_linters/nroff/alex.vim index a10db2dd..3f06af26 100644 --- a/ale_linters/nroff/alex.vim +++ b/ale_linters/nroff/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for nroff files -call ale#linter#Define('nroff', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('nroff', '--text') diff --git a/ale_linters/po/alex.vim b/ale_linters/po/alex.vim index 411d835b..05c67f15 100644 --- a/ale_linters/po/alex.vim +++ b/ale_linters/po/alex.vim @@ -1,11 +1,4 @@ " Author: Cian Butler https://github.com/butlerx " Description: alex for PO files -call ale#linter#Define('po', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('po', '--text') diff --git a/ale_linters/pod/alex.vim b/ale_linters/pod/alex.vim index 5c09befb..c89f8330 100644 --- a/ale_linters/pod/alex.vim +++ b/ale_linters/pod/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for pod files -call ale#linter#Define('pod', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('pod', '--text') diff --git a/ale_linters/rst/alex.vim b/ale_linters/rst/alex.vim index e637eae7..e7ca6fa0 100644 --- a/ale_linters/rst/alex.vim +++ b/ale_linters/rst/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for rst files -call ale#linter#Define('rst', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('rst', '--text') diff --git a/ale_linters/tex/alex.vim b/ale_linters/tex/alex.vim index 78c530f7..5d9aec66 100644 --- a/ale_linters/tex/alex.vim +++ b/ale_linters/tex/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for TeX files -call ale#linter#Define('tex', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('tex', '--text') diff --git a/ale_linters/texinfo/alex.vim b/ale_linters/texinfo/alex.vim index 4a884579..4d245524 100644 --- a/ale_linters/texinfo/alex.vim +++ b/ale_linters/texinfo/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for texinfo files -call ale#linter#Define('texinfo', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('texinfo', '--text') diff --git a/ale_linters/text/alex.vim b/ale_linters/text/alex.vim index c696367b..d87ed915 100644 --- a/ale_linters/text/alex.vim +++ b/ale_linters/text/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for text files -call ale#linter#Define('text', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('text', '--text') diff --git a/ale_linters/xhtml/alex.vim b/ale_linters/xhtml/alex.vim index 60a9a7c9..97f3b59a 100644 --- a/ale_linters/xhtml/alex.vim +++ b/ale_linters/xhtml/alex.vim @@ -1,11 +1,4 @@ " Author: Johannes Wienke <languitar@semipol.de> " Description: alex for XHTML files -call ale#linter#Define('xhtml', { -\ 'name': 'alex', -\ 'executable': 'alex', -\ 'command': 'alex %s -t', -\ 'output_stream': 'stderr', -\ 'callback': 'ale#handlers#alex#Handle', -\ 'lint_file': 1, -\}) +call ale#handlers#alex#DefineLinter('xhtml', '--text') |