Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ale_sh_shellcheck_dialect to set shellcheck dialect #2289

Merged
merged 1 commit into from
Feb 10, 2019

Conversation

kevinoid
Copy link
Contributor

As discussed in #1051, there are cases (including my own) where it would be useful to be able to specify the dialect explicitly or allow shellcheck to determine the dialect using its own logic and considering # shellcheck shell= directives in the file. This commit allows users to do so using the ale_sh_shellcheck_dialect variable, which can be set empty to disable auto-detection or set to a particular dialect to use it unconditionally.

Fixes: #1051

Thanks for considering,
Kevin

As discussed in dense-analysis#1051, there are cases where it would be useful
to be able to specify the dialect explicitly.  This commit allows users
to do so using the ale_sh_shellcheck_dialect variable.

Fixes: dense-analysis#1051

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
@w0rp
Copy link
Member

w0rp commented Feb 10, 2019

Yep, you can sometimes figure out something better than a machine can.

@w0rp w0rp merged commit b235e08 into dense-analysis:master Feb 10, 2019
@w0rp
Copy link
Member

w0rp commented Feb 10, 2019

Cheers! 🍻

@kevinoid
Copy link
Contributor Author

Yes indeed. Thanks @w0rp! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants