summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-01-26 22:04:29 +0000
committerGitHub <noreply@github.com>2019-01-26 22:04:29 +0000
commit0a9dc7b4bad78d56858328659a988073c241f7fd (patch)
tree92c869397575867189333aba2dac9f3abc52017e /autoload
parent6543d0e902d432d722a65d44bd7b6536f48df54f (diff)
parenta6de3f37274d4db9774136350d6475397dc7ac21 (diff)
downloadale-0a9dc7b4bad78d56858328659a988073c241f7fd.zip
Merge pull request #2245 from andrewimeson/adi/add-ksh-support
Add better ksh support
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/sh.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/sh.vim b/autoload/ale/handlers/sh.vim
index e96dd3ce..75eaf71f 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', 'dash', 'ash', 'tcsh', 'csh', 'zsh', 'sh']
+ for l:possible_shell in ['bash', 'dash', 'ash', 'tcsh', 'csh', 'zsh', 'ksh', 'sh']
if l:command =~# l:possible_shell . '\s*$'
return l:possible_shell
endif