From 5a79b610324e98c4397d9453e6e214c336d0140b Mon Sep 17 00:00:00 2001 From: Justin Su Date: Thu, 4 Jun 2026 14:08:54 -0400 Subject: [PATCH] Add `envrc` to Shell Script `path_suffixes` --- crates/grammars/src/bash/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/grammars/src/bash/config.toml b/crates/grammars/src/bash/config.toml index 9f749850272dbe..3d7da0cced78d0 100644 --- a/crates/grammars/src/bash/config.toml +++ b/crates/grammars/src/bash/config.toml @@ -1,7 +1,7 @@ name = "Shell Script" code_fence_block_name = "bash" grammar = "bash" -path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_logout", "bats", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD", "APKBUILD"] +path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_logout", "bats", "envrc", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD", "APKBUILD"] modeline_aliases = ["sh", "shell", "shell-script", "zsh", "fish"] line_comments = ["# "] first_line_pattern = '^#!.*\b(?:ash|bash|bats|dash|sh|zsh)\b'