Unnamed repository; edit this file 'description' to name the repository.
Enable tree-sitter for .zshenv and zsh files (#1574)
This commit builds on #1460, #1571, and others, adding the .zshenv file and all files with the zsh extension to the file-types using bash syntax-highlighting.
Eric Crosson 2022-01-24
parent 1bcff79 · commit 0ad7561
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 661e31bf..a589d7b8 100644
--- a/languages.toml
+++ b/languages.toml
@@ -213,7 +213,7 @@ indent = { tab-width = 2, unit = " " }
name = "bash"
scope = "source.bash"
injection-regex = "bash"
-file-types = ["sh", "bash", ".bash_profile", ".bashrc", ".zshrc"]
+file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc"]
shebangs = ["sh", "bash", "dash"]
roots = []
comment-token = "#"