diff options
Diffstat (limited to 'doc/server_configurations.md')
| -rw-r--r-- | doc/server_configurations.md | 26 |
1 files changed, 8 insertions, 18 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" } |
