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
pull/7958/head
David Bell 11 months ago committed by GitHub
parent cbfe8eef89
commit 567eda88ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 = " " }

Loading…
Cancel
Save