From 7b372feb5b2ce193741b346e0deecfe1f42efde7 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 26 Apr 2022 17:07:40 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 26 ++++++++------------------ 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" } -- cgit v1.2.3-70-g09d2