From 013119913e2e5e261e527f31903a1df80e20ee4b Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 7 May 2024 10:10:51 -0400 Subject: [PATCH] lang(starlark): Add WORKSPACE glob. (#10713) In addition to BUILD files, bazel repositories contain a WORKSPACE file, which is also written in starlark. See https://bazel.build/reference/be/workspace. --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 498e9c717c06..f93ba9cc562f 100644 --- a/languages.toml +++ b/languages.toml @@ -2250,7 +2250,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", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }] +file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }] comment-token = "#" indent = { tab-width = 4, unit = " " } grammar = "python"