1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

bash: expand injection-regex to common shells

This commit is contained in:
Michael Davis 2022-06-28 20:09:30 -05:00 committed by Blaž Hrastnik
parent ca82cd86e6
commit beb19fe1bd

@ -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 = []