Unnamed repository; edit this file 'description' to name the repository.
feat(languages): detect BUCK files as starlark (#13810)
Co-authored-by: Yesudeep Mangalapilly <[email protected]>
| -rw-r--r-- | languages.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml index b494d998..91c5da66 100644 --- a/languages.toml +++ b/languages.toml @@ -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" ] |