diff options
author | Daniel M. Capella <polyzen@users.noreply.github.com> | 2017-03-01 19:06:09 -0500 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-03-02 00:06:09 +0000 |
commit | 18508f74532f41aa4c66a5e217550f00d150a30d (patch) | |
tree | f13b02833feb92678ef27dec382777c74bc7e3e3 /ale_linters | |
parent | 6befe9e37c3a7bc07aba2f66cd7587fd6360359b (diff) | |
download | ale-18508f74532f41aa4c66a5e217550f00d150a30d.zip |
proselint: Add more supported filetypes (#367)
* proselint: Add more suported filetypes
* proselint: Minor consistency fixes
* Vim help: Disable linters by default
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/asciidoc/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/help/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/html/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/markdown/proselint.vim | 2 | ||||
-rw-r--r-- | ale_linters/nroff/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/pod/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/rst/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/tex/proselint.vim | 2 | ||||
-rw-r--r-- | ale_linters/texinfo/proselint.vim | 9 | ||||
-rw-r--r-- | ale_linters/text/proselint.vim | 2 | ||||
-rw-r--r-- | ale_linters/xhtml/proselint.vim | 9 |
11 files changed, 75 insertions, 3 deletions
diff --git a/ale_linters/asciidoc/proselint.vim b/ale_linters/asciidoc/proselint.vim new file mode 100644 index 00000000..4851191e --- /dev/null +++ b/ale_linters/asciidoc/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for AsciiDoc files + +call ale#linter#Define('asciidoc', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/help/proselint.vim b/ale_linters/help/proselint.vim new file mode 100644 index 00000000..cd6cb7f0 --- /dev/null +++ b/ale_linters/help/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for Vim help files + +call ale#linter#Define('help', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/html/proselint.vim b/ale_linters/html/proselint.vim new file mode 100644 index 00000000..50ab5e49 --- /dev/null +++ b/ale_linters/html/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for HTML files + +call ale#linter#Define('html', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/markdown/proselint.vim b/ale_linters/markdown/proselint.vim index 065ae32f..295b1d02 100644 --- a/ale_linters/markdown/proselint.vim +++ b/ale_linters/markdown/proselint.vim @@ -1,5 +1,5 @@ " Author: poohzrn https://github.com/poohzrn -" Description: proselint for markdown files +" Description: proselint for Markdown files call ale#linter#Define('markdown', { \ 'name': 'proselint', diff --git a/ale_linters/nroff/proselint.vim b/ale_linters/nroff/proselint.vim new file mode 100644 index 00000000..ce5ff1e7 --- /dev/null +++ b/ale_linters/nroff/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for nroff files + +call ale#linter#Define('nroff', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/pod/proselint.vim b/ale_linters/pod/proselint.vim new file mode 100644 index 00000000..aa7c9406 --- /dev/null +++ b/ale_linters/pod/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for Pod files + +call ale#linter#Define('pod', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/rst/proselint.vim b/ale_linters/rst/proselint.vim new file mode 100644 index 00000000..4e555dae --- /dev/null +++ b/ale_linters/rst/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for reStructuredText files + +call ale#linter#Define('rst', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/tex/proselint.vim b/ale_linters/tex/proselint.vim index 6801cf3e..b97fb3e4 100644 --- a/ale_linters/tex/proselint.vim +++ b/ale_linters/tex/proselint.vim @@ -1,5 +1,5 @@ " Author: poohzrn https://github.com/poohzrn -" Description: proselint for tex files +" Description: proselint for TeX files call ale#linter#Define('tex', { \ 'name': 'proselint', diff --git a/ale_linters/texinfo/proselint.vim b/ale_linters/texinfo/proselint.vim new file mode 100644 index 00000000..7b265144 --- /dev/null +++ b/ale_linters/texinfo/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for Texinfo files + +call ale#linter#Define('texinfo', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/text/proselint.vim b/ale_linters/text/proselint.vim index 9bfbb2ce..c1b81e95 100644 --- a/ale_linters/text/proselint.vim +++ b/ale_linters/text/proselint.vim @@ -4,6 +4,6 @@ call ale#linter#Define('text', { \ 'name': 'proselint', \ 'executable': 'proselint', -\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', \ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', \}) diff --git a/ale_linters/xhtml/proselint.vim b/ale_linters/xhtml/proselint.vim new file mode 100644 index 00000000..07f7a291 --- /dev/null +++ b/ale_linters/xhtml/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for XHTML files + +call ale#linter#Define('xhtml', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) |