aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMichael Davis2022-06-29 01:09:30 +0000
committerBlaž Hrastnik2022-07-01 09:04:23 +0000
commitbeb19fe1bd52abd32b56f51d47bf54f744a0d19f (patch)
tree4e4f484d04aff7fb693db97c82ab78f0520a3a73 /languages.toml
parentca82cd86e62392f74d86d2abc647a6fc84d56539 (diff)
bash: expand injection-regex to common shells
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 0e6cbb9c..7a4b28c4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -460,7 +460,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "dfff6
[[language]]
name = "bash"
scope = "source.bash"
-injection-regex = "bash"
+injection-regex = "(shell|bash|zsh|sh)"
file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc"]
shebangs = ["sh", "bash", "dash"]
roots = []