diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-06-23 04:05:59 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-06-23 04:05:59 +0000 |
| commit | 0630abde4d99740773b6f7da70937268c20854a4 (patch) | |
| tree | 3d0e040102d7f9c61b150de83ccbaad3cf9a858b /doc/server_configurations.md | |
| parent | feat: add protols support (#3219) (diff) | |
| download | nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.tar nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.tar.gz nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.tar.bz2 nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.tar.lz nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.tar.xz nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.tar.zst nvim-lspconfig-0630abde4d99740773b6f7da70937268c20854a4.zip | |
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc/server_configurations.md')
| -rw-r--r-- | doc/server_configurations.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 3ccc0ae4..7657ffbd 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -207,6 +207,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [prismals](#prismals) - [prolog_ls](#prolog_ls) - [prosemd_lsp](#prosemd_lsp) +- [protols](#protols) - [psalm](#psalm) - [puppet](#puppet) - [purescriptls](#purescriptls) @@ -8756,6 +8757,44 @@ require'lspconfig'.prosemd_lsp.setup{} ``` +## protols + +https://github.com/coder3101/protols + +`protols` can be installed via `cargo`: +```sh +cargo install protols +``` + +A Language Server for proto3 files. It uses tree-sitter and runs in single file mode. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.protols.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "protols" } + ``` + - `filetypes` : + ```lua + { "proto" } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `single_file_support` : + ```lua + true + ``` + + ## psalm https://github.com/vimeo/psalm |
