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.
pull/8675/merge
Ryan Roden-Corrent 2 months ago committed by GitHub
parent beb5afcbef
commit 0432d9cf14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save