diff options
| author | github-actions <github-actions@github.com> | 2022-04-26 17:07:40 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2022-04-26 17:07:40 +0000 |
| commit | 7b372feb5b2ce193741b346e0deecfe1f42efde7 (patch) | |
| tree | c461ccdf2bb49b50339a3a8f70bde5f93c9596c9 | |
| parent | fix(zeta_note): add cmd (#1863) (diff) | |
| download | nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.tar nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.tar.gz nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.tar.bz2 nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.tar.lz nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.tar.xz nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.tar.zst nvim-lspconfig-7b372feb5b2ce193741b346e0deecfe1f42efde7.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 26 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 26 |
2 files changed, 16 insertions, 36 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 00ffd5d0..69ee98f7 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -6205,17 +6205,6 @@ https://github.com/vlang/vls V language server. `v-language-server` can be installed by following the instructions [here](https://github.com/vlang/vls#installation). - -**By default, v-language-server doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped and compiled v-language-server. - -```lua --- set the path to the vls installation; -local vls_root_path = vim.fn.stdpath('cache')..'/lspconfig/vls' -local vls_binary = vls_root_path.."/cmd/vls/vls" - -require'lspconfig'.vls.setup { - cmd = {vls_binary}, -} ``` @@ -6227,6 +6216,10 @@ require'lspconfig'.vls.setup{} **Default values:** + - `cmd` : + ```lua + { "vls" } + ``` - `filetypes` : ```lua { "vlang" } @@ -6549,13 +6542,6 @@ https://github.com/artempyanykh/zeta-note Markdown LSP server for easy note-taking with cross-references and diagnostics. Binaries can be downloaded from https://github.com/artempyanykh/zeta-note/releases - -**By default, zeta-note doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your zeta-note binary. - -```lua -require'lspconfig'.zeta_note.setup{ - cmd = {'path/to/zeta-note'} -} ``` @@ -6567,6 +6553,10 @@ require'lspconfig'.zeta_note.setup{} **Default values:** + - `cmd` : + ```lua + { "zeta-note" } + ``` - `filetypes` : ```lua { "markdown" } diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 00ffd5d0..69ee98f7 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -6205,17 +6205,6 @@ https://github.com/vlang/vls V language server. `v-language-server` can be installed by following the instructions [here](https://github.com/vlang/vls#installation). - -**By default, v-language-server doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped and compiled v-language-server. - -```lua --- set the path to the vls installation; -local vls_root_path = vim.fn.stdpath('cache')..'/lspconfig/vls' -local vls_binary = vls_root_path.."/cmd/vls/vls" - -require'lspconfig'.vls.setup { - cmd = {vls_binary}, -} ``` @@ -6227,6 +6216,10 @@ require'lspconfig'.vls.setup{} **Default values:** + - `cmd` : + ```lua + { "vls" } + ``` - `filetypes` : ```lua { "vlang" } @@ -6549,13 +6542,6 @@ https://github.com/artempyanykh/zeta-note Markdown LSP server for easy note-taking with cross-references and diagnostics. Binaries can be downloaded from https://github.com/artempyanykh/zeta-note/releases - -**By default, zeta-note doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your zeta-note binary. - -```lua -require'lspconfig'.zeta_note.setup{ - cmd = {'path/to/zeta-note'} -} ``` @@ -6567,6 +6553,10 @@ require'lspconfig'.zeta_note.setup{} **Default values:** + - `cmd` : + ```lua + { "zeta-note" } + ``` - `filetypes` : ```lua { "markdown" } |
