From 567eda88ef00b40ecabb22dc896872063d8aeda4 Mon Sep 17 00:00:00 2001 From: David Bell Date: Tue, 15 Aug 2023 00:39:37 -0700 Subject: 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--- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = " " } -- cgit v1.2.3-70-g09d2