From 0ad7561135cb53bdcb067e092fa1edaba96ffdad Mon Sep 17 00:00:00 2001 From: Eric Crosson Date: Mon, 24 Jan 2022 09:25:19 -0600 Subject: [PATCH] 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. --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 661e31bff..a589d7b85 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 = "#"