summaryrefslogtreecommitdiff
path: root/ale_linters/sh/shellcheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/sh/shellcheck.vim')
-rw-r--r--ale_linters/sh/shellcheck.vim10
1 files changed, 2 insertions, 8 deletions
diff --git a/ale_linters/sh/shellcheck.vim b/ale_linters/sh/shellcheck.vim
index fbd7e49b..d9945126 100644
--- a/ale_linters/sh/shellcheck.vim
+++ b/ale_linters/sh/shellcheck.vim
@@ -1,10 +1,4 @@
" Author: w0rp <devw0rp@gmail.com>
-" Description: This file adds support for using the shellcheck linter with
-" shell scripts.
+" Description: shellcheck linter for shell scripts.
-call ale#linter#Define('sh', {
-\ 'name': 'shellcheck',
-\ 'executable': function('ale#handlers#shellcheck#GetExecutable'),
-\ 'command': function('ale#handlers#shellcheck#GetCommand'),
-\ 'callback': 'ale#handlers#shellcheck#Handle',
-\})
+call ale#handlers#shellcheck#DefineLinter('sh')