From 8d335f63f00755c33721b656f289357d3bd5dfb7 Mon Sep 17 00:00:00 2001 From: ttys3 <41882455+ttys3@users.noreply.github.com> Date: Thu, 21 Apr 2022 00:08:57 +0800 Subject: [PATCH] chore(filetype): bash and hcl file type add more common used extensions or files (#2201) --- languages.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/languages.toml b/languages.toml index fb54427d..fdf794a6 100644 --- a/languages.toml +++ b/languages.toml @@ -429,7 +429,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "dfff6 name = "bash" scope = "source.bash" injection-regex = "bash" -file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc"] +file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild"] shebangs = ["sh", "bash", "dash"] roots = [] comment-token = "#" @@ -1007,8 +1007,8 @@ source = { git = "https://github.com/fwcd/tree-sitter-kotlin", rev = "a4f71eb9b8 [[language]] name = "hcl" scope = "source.hcl" -injection-regex = "(hcl|tf)" -file-types = ["hcl", "tf", "tfvars"] +injection-regex = "(hcl|tf|nomad)" +file-types = ["hcl", "tf", "tfvars", "nomad"] roots = [] comment-token = "#" indent = { tab-width = 2, unit = " " }