aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/buf_ls.lua
blob: 2ce9fc74c9f10d2d02f4f46b8956e4693f3df5da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return {
  default_config = {
    cmd = { 'buf', 'beta', 'lsp', '--timeout=0', '--log-format=text' },
    filetypes = { 'proto' },
    root_dir = require('lspconfig.util').root_pattern('buf.yaml', '.git'),
  },
  docs = {
    description = [[
https://github.com/bufbuild/buf

buf beta lsp included in the cli itself

buf beta lsp is a Protobuf language server compatible with Buf modules and workspaces
]],
  },
}