How to use 'bzl' (starlark) LSP #1591
Unanswered
DanielKongsgaard
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
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' },
})
endbut 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
-
|
Way late to the thread, but using :MasonInstall starplsor |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
:Masonhas a language server calledbzl, but when I try to ensure it is installed withmason-lspconfigI 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