aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-12-24 22:08:13 +0000
committergithub-actions <github-actions@github.com>2021-12-24 22:08:13 +0000
commit65f55154b4f3fe9f932881fd846e663e6e0ac30b (patch)
treeca7bd97d0779ac870a965733b0910ee7a8591e2d /doc
parentfeat: add verible configuration (#1605) (diff)
downloadnvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.tar
nvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.tar.gz
nvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.tar.bz2
nvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.tar.lz
nvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.tar.xz
nvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.tar.zst
nvim-lspconfig-65f55154b4f3fe9f932881fd846e663e6e0ac30b.zip
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/server_configurations.md36
-rw-r--r--doc/server_configurations.txt36
2 files changed, 72 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 519f073b..a62f59e3 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -121,6 +121,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [typeprof](#typeprof)
- [vala_ls](#vala_ls)
- [vdmj](#vdmj)
+- [verible](#verible)
- [vimls](#vimls)
- [vls](#vls)
- [volar](#volar)
@@ -7959,6 +7960,41 @@ require'lspconfig'.vdmj.setup{}
```
+## verible
+
+https://github.com/chipsalliance/verible
+
+A linter and formatter for verilog and SystemVerilog files.
+
+Release binaries can be downloaded from [here](https://github.com/chipsalliance/verible/releases)
+and placed in a directory on PATH.
+
+See https://github.com/chipsalliance/verible/tree/master/verilog/tools/ls/README.md for options.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.verible.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "verible-verilog-ls" }
+ filetypes = { "systemverilog", "verilog" }
+ root_dir = function(path)
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
+ return path
+ end
+ end)
+ end
+```
+
+
## vimls
https://github.com/iamcco/vim-language-server
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 519f073b..a62f59e3 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -121,6 +121,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [typeprof](#typeprof)
- [vala_ls](#vala_ls)
- [vdmj](#vdmj)
+- [verible](#verible)
- [vimls](#vimls)
- [vls](#vls)
- [volar](#volar)
@@ -7959,6 +7960,41 @@ require'lspconfig'.vdmj.setup{}
```
+## verible
+
+https://github.com/chipsalliance/verible
+
+A linter and formatter for verilog and SystemVerilog files.
+
+Release binaries can be downloaded from [here](https://github.com/chipsalliance/verible/releases)
+and placed in a directory on PATH.
+
+See https://github.com/chipsalliance/verible/tree/master/verilog/tools/ls/README.md for options.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.verible.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "verible-verilog-ls" }
+ filetypes = { "systemverilog", "verilog" }
+ root_dir = function(path)
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
+ return path
+ end
+ end)
+ end
+```
+
+
## vimls
https://github.com/iamcco/vim-language-server