diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-26 21:17:47 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-26 21:21:42 +0100 |
commit | 33c2c20e66f694daf899963d778c47f824cda732 (patch) | |
tree | 41ce191eb81a8719f876bbc75dd6f286c311b3a3 /autoload | |
parent | 3ac92ea529e41fa733647692e40b6ee5c0622e1d (diff) | |
download | ale-33c2c20e66f694daf899963d778c47f824cda732.zip |
Fix #1051 - Support ash and dash for shellcheck and the sh linter
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/handlers/sh.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/sh.vim b/autoload/ale/handlers/sh.vim index 894879ee..e96dd3ce 100644 --- a/autoload/ale/handlers/sh.vim +++ b/autoload/ale/handlers/sh.vim @@ -9,7 +9,7 @@ function! ale#handlers#sh#GetShellType(buffer) abort " Remove options like -e, etc. let l:command = substitute(l:bang_line, ' --\?[a-zA-Z0-9]\+', '', 'g') - for l:possible_shell in ['bash', 'tcsh', 'csh', 'zsh', 'sh'] + for l:possible_shell in ['bash', 'dash', 'ash', 'tcsh', 'csh', 'zsh', 'sh'] if l:command =~# l:possible_shell . '\s*$' return l:possible_shell endif |