summaryrefslogtreecommitdiff
path: root/ale_linters/mail
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/mail')
-rw-r--r--ale_linters/mail/alex.vim11
1 files changed, 2 insertions, 9 deletions
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')