diff options
author | Tim Byrne <sultan@locehilios.com> | 2017-09-22 16:37:12 -0500 |
---|---|---|
committer | Tim Byrne <sultan@locehilios.com> | 2017-09-22 17:04:00 -0500 |
commit | 3910b025b2b146c1a509394170c6c149828f8bc7 (patch) | |
tree | cc2e5e97099cd34a21cc21111932656aab44f078 /ale_linters | |
parent | 70fdeb7c228b512f042d8ffe11e9c5e1579bcb5f (diff) | |
download | ale-3910b025b2b146c1a509394170c6c149828f8bc7.zip |
Move dialect setting before user options (shellcheck)
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/sh/shellcheck.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/sh/shellcheck.vim b/ale_linters/sh/shellcheck.vim index 3a2d33f2..004656b5 100644 --- a/ale_linters/sh/shellcheck.vim +++ b/ale_linters/sh/shellcheck.vim @@ -44,9 +44,9 @@ function! ale_linters#sh#shellcheck#GetCommand(buffer) abort let l:dialect = ale_linters#sh#shellcheck#GetDialectArgument(a:buffer) return ale_linters#sh#shellcheck#GetExecutable(a:buffer) + \ . (!empty(l:dialect) ? ' -s ' . l:dialect : '') \ . (!empty(l:options) ? ' ' . l:options : '') \ . (!empty(l:exclude_option) ? ' -e ' . l:exclude_option : '') - \ . (!empty(l:dialect) ? ' -s ' . l:dialect : '') \ . ' -f gcc -' endfunction |