From c214cd0c2b7d579ac621aeba15f422f4a9edd959 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 7 May 2024 09:22:33 -0400 Subject: [PATCH] lang(starlark): Add WORKSPACE glob. 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"