aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-06 05:39:04 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-06 05:39:04 +0000
commitfb30a8603d8b6eb26a87d88474a313a637c0bfd9 (patch)
tree45302980a773964690144970e120cb72ba0ae052 /doc
parentfeat(buf): new lsp for protobuf (#3414) (diff)
downloadnvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.tar
nvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.tar.gz
nvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.tar.bz2
nvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.tar.lz
nvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.tar.xz
nvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.tar.zst
nvim-lspconfig-fb30a8603d8b6eb26a87d88474a313a637c0bfd9.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md26
-rw-r--r--doc/configs.txt26
2 files changed, 52 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 256c9184..65df59e9 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -37,6 +37,7 @@ Nvim by running `:help lspconfig-all`.
- [bsl_ls](#bsl_ls)
- [buck2](#buck2)
- [buddy_ls](#buddy_ls)
+- [buf_ls](#buf_ls)
- [bufls](#bufls)
- [bzl](#bzl)
- [c3_lsp](#c3_lsp)
@@ -1453,6 +1454,31 @@ Default config:
- `single_file_support` : `true`
+## buf_ls
+
+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
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.buf_ls.setup{}
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "buf", "beta", "lsp", "--timeout=0", "--log-format=text" }
+ ```
+- `filetypes` :
+ ```lua
+ { "proto" }
+ ```
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/buf_ls.lua:2](../lua/lspconfig/configs/buf_ls.lua#L2)
+
+
## bufls
https://github.com/bufbuild/buf-language-server
diff --git a/doc/configs.txt b/doc/configs.txt
index 256c9184..65df59e9 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -37,6 +37,7 @@ Nvim by running `:help lspconfig-all`.
- [bsl_ls](#bsl_ls)
- [buck2](#buck2)
- [buddy_ls](#buddy_ls)
+- [buf_ls](#buf_ls)
- [bufls](#bufls)
- [bzl](#bzl)
- [c3_lsp](#c3_lsp)
@@ -1453,6 +1454,31 @@ Default config:
- `single_file_support` : `true`
+## buf_ls
+
+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
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.buf_ls.setup{}
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "buf", "beta", "lsp", "--timeout=0", "--log-format=text" }
+ ```
+- `filetypes` :
+ ```lua
+ { "proto" }
+ ```
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/buf_ls.lua:2](../lua/lspconfig/configs/buf_ls.lua#L2)
+
+
## bufls
https://github.com/bufbuild/buf-language-server