You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shellcheck does not recognize zsh, and fails (exit code 4) when ALE attempts to execute shellcheck -s zsh on .zsh files, giving no output.
Currently I made a hotfix in my local build by hardcoding the dialect to bash in autoload/handlers/shellcheck.vim
I don't know ALE well enough to make a PR, but it seems that l:possible_shell should be restricted to valid dialects recognized by shellcheck: sh, bash, dash, and ksh.
Therefore, it seems that tcsh, csh, zsh and ash need to be removed in order to prevent shellcheck failure in ALE for zsh (and presumably also the other aforementioned invalid dialects).
The text was updated successfully, but these errors were encountered:
Shellcheck does not recognize zsh, and fails (exit code 4) when ALE attempts to execute
shellcheck -s zsh
on .zsh files, giving no output.Currently I made a hotfix in my local build by hardcoding the
dialect
tobash
inautoload/handlers/shellcheck.vim
I don't know ALE well enough to make a PR, but it seems that
l:possible_shell
should be restricted to valid dialects recognized byshellcheck
:sh, bash, dash
, andksh
.Currently line 10 reads:
Therefore, it seems that
tcsh, csh, zsh
andash
need to be removed in order to preventshellcheck
failure in ALE for zsh (and presumably also the other aforementioned invalid dialects).The text was updated successfully, but these errors were encountered: