17 lines
447 B
Lua
17 lines
447 B
Lua
---@brief
|
|
---
|
|
--- https://github.com/bufbuild/buf-language-server
|
|
---
|
|
--- `buf-language-server` can be installed via `go install`:
|
|
--- ```sh
|
|
--- go install github.com/bufbuild/buf-language-server/cmd/bufls@latest
|
|
--- ```
|
|
---
|
|
--- bufls is a Protobuf language server compatible with Buf modules and workspaces
|
|
|
|
---@type vim.lsp.Config
|
|
return {
|
|
cmd = { 'bufls', 'serve' },
|
|
filetypes = { 'proto' },
|
|
root_markers = { 'buf.work.yaml', '.git' },
|
|
}
|