From 7c7390119966f5f8f45a02cda94c09d4fa117a63 Mon Sep 17 00:00:00 2001 From: Jeff Kreeftmeijer Date: Sun, 8 Oct 2017 14:45:10 +0200 Subject: Add Vale linter for AsciiDoc Vale supports AsciiDoc. This patch adds a Vale linter for AsciiDoc files, which is based on the existing Markdown linter. --- ale_linters/asciidoc/vale.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/asciidoc/vale.vim (limited to 'ale_linters/asciidoc/vale.vim') diff --git a/ale_linters/asciidoc/vale.vim b/ale_linters/asciidoc/vale.vim new file mode 100644 index 00000000..b3cf4547 --- /dev/null +++ b/ale_linters/asciidoc/vale.vim @@ -0,0 +1,9 @@ +" Author: Jeff Kreeftmeijer https://github.com/jeffkreeftmeijer +" Description: vale for AsciiDoc files + +call ale#linter#Define('asciidoc', { +\ 'name': 'vale', +\ 'executable': 'vale', +\ 'command': 'vale --output=line %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) -- cgit v1.2.3