mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 11:23:10 +03:00
Use language=bash when shebang line uses zsh (#4582)
This PR makes the editor use language=bash when the shebang line uses zsh. This is in the same line as using language=bash for zsh related file (~/.zshrc, ~/.zshenv etc.) as we already do.
This commit is contained in:
parent
c667ff8da3
commit
d357f1673f
@ -522,7 +522,7 @@ name = "bash"
|
||||
scope = "source.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"]
|
||||
shebangs = ["sh", "bash", "dash", "zsh"]
|
||||
roots = []
|
||||
comment-token = "#"
|
||||
language-server = { command = "bash-language-server", args = ["start"] }
|
||||
|
Loading…
Reference in New Issue
Block a user