summaryrefslogtreecommitdiff
path: root/ale_linters/sh/shellcheck.vim
blob: fbd7e49bab759ad5f223db40ab9530c3fa2399b9 (plain)
1
2
3
4
5
6
7
8
9
10
" Author: w0rp <devw0rp@gmail.com>
" Description: This file adds support for using the shellcheck linter with
"   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',
\})