Skip to content

Commit

Permalink
chore(filetype): bash and hcl file type add more common used extensio…
Browse files Browse the repository at this point in the history
…ns or files (#2201)
  • Loading branch information
ttys3 authored Apr 20, 2022
1 parent b0bceb5 commit 8d335f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "#"
Expand Down Expand Up @@ -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 = " " }
Expand Down

0 comments on commit 8d335f6

Please sign in to comment.