diff options
| author | Imron Gamidli <36050790+gogamid@users.noreply.github.com> | 2024-11-06 06:38:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 13:38:53 +0800 |
| commit | 2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9 (patch) | |
| tree | 9c1506de8545d0f8f089c9c76139a4b698e2fe2f /lua/lspconfig | |
| parent | chore(ruff_lsp): deprecate ruff_lsp in favour of ruff (#3420) (diff) | |
| download | nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.tar nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.tar.gz nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.tar.bz2 nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.tar.lz nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.tar.xz nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.tar.zst nvim-lspconfig-2e92288351d3b0a9e5c8d8de7d1a9aaa0e5c40e9.zip | |
feat(buf): new lsp for protobuf (#3414)
new server bufls for protobuf filetype
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 +]], + }, +} |
