diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 7b161904b..f72b762f4 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -207,7 +207,7 @@ | spicedb | ✓ | | | | | sql | ✓ | ✓ | | | | sshclientconfig | ✓ | | | | -| starlark | ✓ | ✓ | | | +| starlark | ✓ | ✓ | | `starpls` | | strace | ✓ | | | | | supercollider | ✓ | | | | | svelte | ✓ | | ✓ | `svelteserver` | diff --git a/languages.toml b/languages.toml index e7141c7e8..f5c8980c2 100644 --- a/languages.toml +++ b/languages.toml @@ -105,6 +105,7 @@ solargraph = { command = "solargraph", args = ["stdio"] } solc = { command = "solc", args = ["--lsp"] } sourcekit-lsp = { command = "sourcekit-lsp" } spade-language-server = {command = "spade-language-server"} +starpls = {command = "starpls"} svlangserver = { command = "svlangserver", args = [] } swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] } superhtml = { command = "superhtml", args = ["lsp"]} @@ -2447,6 +2448,7 @@ injection-regex = "(starlark|bzl|bazel)" file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }] comment-token = "#" indent = { tab-width = 4, unit = " " } +language-servers = [ "starpls" ] grammar = "python" [[language]]