chore(filetype): bash and hcl file type add more common used extensions or files (#2201)

This commit is contained in:
ttys3 2022-04-21 00:08:57 +08:00 committed by GitHub
parent b0bceb5674
commit 8d335f63f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -429,7 +429,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "dfff6
name = "bash" name = "bash"
scope = "source.bash" scope = "source.bash"
injection-regex = "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"] shebangs = ["sh", "bash", "dash"]
roots = [] roots = []
comment-token = "#" comment-token = "#"
@ -1007,8 +1007,8 @@ source = { git = "https://github.com/fwcd/tree-sitter-kotlin", rev = "a4f71eb9b8
[[language]] [[language]]
name = "hcl" name = "hcl"
scope = "source.hcl" scope = "source.hcl"
injection-regex = "(hcl|tf)" injection-regex = "(hcl|tf|nomad)"
file-types = ["hcl", "tf", "tfvars"] file-types = ["hcl", "tf", "tfvars", "nomad"]
roots = [] roots = []
comment-token = "#" comment-token = "#"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }