aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-08-22 02:55:08 +0000
committergithub-actions <github-actions@github.com>2022-08-22 02:55:08 +0000
commit568aa4d41e1150823ce8e5cbdea47278d3fddf36 (patch)
tree4205f3170976d735067df3bf3ed9c392e808876a
parentfeat: add buf-language-server support (#2073) (diff)
downloadnvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.tar
nvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.tar.gz
nvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.tar.bz2
nvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.tar.lz
nvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.tar.xz
nvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.tar.zst
nvim-lspconfig-568aa4d41e1150823ce8e5cbdea47278d3fddf36.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md35
-rw-r--r--doc/server_configurations.txt35
2 files changed, 70 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index ff5b5af5..399e4f37 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -18,6 +18,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [beancount](#beancount)
- [bicep](#bicep)
- [bsl_ls](#bsl_ls)
+- [bufls](#bufls)
- [ccls](#ccls)
- [clangd](#clangd)
- [clarity_lsp](#clarity_lsp)
@@ -727,6 +728,40 @@ require'lspconfig'.bsl_ls.setup{}
```
+## bufls
+
+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
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.bufls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "bufls", "serve" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "proto" }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern("buf.work.yaml", ".git")
+ ```
+
+
## ccls
https://github.com/MaskRay/ccls/wiki
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index ff5b5af5..399e4f37 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -18,6 +18,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [beancount](#beancount)
- [bicep](#bicep)
- [bsl_ls](#bsl_ls)
+- [bufls](#bufls)
- [ccls](#ccls)
- [clangd](#clangd)
- [clarity_lsp](#clarity_lsp)
@@ -727,6 +728,40 @@ require'lspconfig'.bsl_ls.setup{}
```
+## bufls
+
+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
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.bufls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "bufls", "serve" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "proto" }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern("buf.work.yaml", ".git")
+ ```
+
+
## ccls
https://github.com/MaskRay/ccls/wiki