summaryrefslogtreecommitdiff
path: root/ale_linters/asciidoc
diff options
context:
space:
mode:
authorSumner Evans <sumner.evans98@gmail.com>2017-10-25 00:27:40 +0100
committerw0rp <devw0rp@gmail.com>2017-10-25 00:28:06 +0100
commit7ac07a30b8c54dd44da403830d4ed84992d18656 (patch)
tree4a69129eb8f72370cbb62cbce7b75648b3ecafad /ale_linters/asciidoc
parent1a5ef969a528c037b865828dedcd482a51d0e004 (diff)
downloadale-7ac07a30b8c54dd44da403830d4ed84992d18656.zip
Fix #643 - Add support for write-good for many languages
Diffstat (limited to 'ale_linters/asciidoc')
-rw-r--r--ale_linters/asciidoc/write-good.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/asciidoc/write-good.vim b/ale_linters/asciidoc/write-good.vim
new file mode 100644
index 00000000..c986cc6c
--- /dev/null
+++ b/ale_linters/asciidoc/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for AsciiDoc files
+
+call ale#linter#Define('asciidoc', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})