diff options
Diffstat (limited to 'lua/lspconfig')
| -rw-r--r-- | lua/lspconfig/configs/buf_ls.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/buf_ls.lua b/lua/lspconfig/configs/buf_ls.lua new file mode 100644 index 00000000..2ce9fc74 --- /dev/null +++ b/lua/lspconfig/configs/buf_ls.lua @@ -0,0 +1,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 +]], + }, +} |
