aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bell2023-08-15 07:39:37 +0000
committerGitHub2023-08-15 07:39:37 +0000
commit567eda88ef00b40ecabb22dc896872063d8aeda4 (patch)
tree76b981891b9b6af2995a697686a49e3104151501
parentcbfe8eef894e8784a9e10127cd1c800ca9b7f532 (diff)
add .star as starlark file extension (#7922)
In addition to the other defined extensions, `.star` is a frequently used extension for starlark files. This can be demonstrated through a cursory search of github for files ending in `.star` here: https://github.com/search?q=path%3A%2F.star%24%2F&type=code
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 1e692ac4..d3cb4025 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1929,7 +1929,7 @@ source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569
name = "starlark"
scope = "source.starlark"
injection-regex = "(starlark|bzl|bazel)"
-file-types = ["bzl", "bazel", "BUILD"]
+file-types = ["bzl", "bazel", "BUILD", "star"]
roots = []
comment-token = "#"
indent = { tab-width = 4, unit = " " }