summaryrefslogtreecommitdiff
path: root/ale_linters/asciidoc
diff options
context:
space:
mode:
authorDaniel M. Capella <polyzen@users.noreply.github.com>2017-03-01 19:06:09 -0500
committerw0rp <w0rp@users.noreply.github.com>2017-03-02 00:06:09 +0000
commit18508f74532f41aa4c66a5e217550f00d150a30d (patch)
treef13b02833feb92678ef27dec382777c74bc7e3e3 /ale_linters/asciidoc
parent6befe9e37c3a7bc07aba2f66cd7587fd6360359b (diff)
downloadale-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/asciidoc')
-rw-r--r--ale_linters/asciidoc/proselint.vim9
1 files changed, 9 insertions, 0 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',
+\})