feat(languages): detect BUCK files as starlark (#13810)

Co-authored-by: Yesudeep Mangalapilly <yesudeep@vikata.local>
pull/13708/head^2
Yesudeep Mangalapilly 2025-06-21 07:00:55 -07:00 committed by GitHub
parent 036729211a
commit 472a27e4f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -2512,8 +2512,8 @@ source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569
[[language]]
name = "starlark"
scope = "source.starlark"
injection-regex = "(starlark|bzl|bazel)"
file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }]
injection-regex = "(starlark|bzl|bazel|buck)"
file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUCK" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }]
comment-token = "#"
indent = { tab-width = 4, unit = " " }
language-servers = [ "starpls" ]