mirror of https://github.com/helix-editor/helix
feat(languages): detect BUCK files as starlark (#13810)
Co-authored-by: Yesudeep Mangalapilly <yesudeep@vikata.local>pull/13708/head^2
parent
036729211a
commit
472a27e4f2
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue