diff options
author | Michael Davis | 2022-06-28 03:18:38 +0000 |
---|---|---|
committer | GitHub | 2022-06-28 03:18:38 +0000 |
commit | 64cf4c859b67c98042e2d66f26be0ce4a7afc6e0 (patch) | |
tree | 8388e059d6886417fd015f23d8365733971a5c4f /languages.toml | |
parent | 6f932375bf47ebc1d4da1e5445fdbc82ea53453f (diff) |
support Bazel languages (#2903)
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index aba5fd44..0e6cbb9c 100644 --- a/languages.toml +++ b/languages.toml @@ -461,7 +461,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", "APKBUILD", "PKGBUILD", "eclass", "ebuild"] +file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc"] shebangs = ["sh", "bash", "dash"] roots = [] comment-token = "#" @@ -1478,3 +1478,13 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "clojure" source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569ae332ca365da623712ae1f50f84daeae2" } + +[[language]] +name = "starlark" +scope = "source.starlark" +injection-regex = "(starlark|bzl|bazel)" +file-types = ["bzl", "bazel", "BUILD"] +roots = [] +comment-token = "#" +indent = { tab-width = 4, unit = " " } +grammar = "python" |