How to use 'bzl' (starlark) LSP #1591
Unanswered
DanielKongsgaard
asked this question in
Q&A
Replies: 1 comment
-
I figured out that I can set it up so it works with the following in -- setup bazel/starlark lsp
if vim.fn.executable('bzl') == 1 then
vim.lsp.start({
name = 'Bazel/Starlark Language Server',
cmd = { 'bzl', 'lsp', 'serve' },
})
end but I am not sure how to best give root dir. If anyone has any experience with setting this LSP up I would still like some feedback though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
:Mason
has a language server calledbzl
, but when I try to ensure it is installed withmason-lspconfig
I get:Also, I tried to set it up without
mason-lspconfig
, but had no luck so far.How am I supposed to setup this LSP?
Beta Was this translation helpful? Give feedback.
All reactions