on master help sign in
bash: expand injection-regex to common shells
commitbeb19fe1bd52abd32b56f51d47bf54f744a0d19f authorMichael Davis <mcarsondavis@gmail.com> dateTue 28 Jun 2022, 20:09 (4 years ago) parentca82cd8
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -460,7 +460,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "dfff6
460460[[language]]
461461name = "bash"
462462scope = "source.bash"
463−injection-regex = "bash"
463+injection-regex = "(shell|bash|zsh|sh)"
464464file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc"]
465465shebangs = ["sh", "bash", "dash"]
466466roots = []