From 94b9b97fe137e39606c080ab048c9bf30c843827 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Apr 2023 06:31:28 +0000 Subject: [PATCH] docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 11 +---------- doc/server_configurations.txt | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 3db907f664..8b2292a8cc 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -832,21 +832,12 @@ https://github.com/microsoft/azure-pipelines-language-server An Azure Pipelines language server -**By default, `azure-pipelines-ls` doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. -You have to install the language server manually. - `azure-pipelines-ls` can be installed via `npm`: ```sh npm install -g azure-pipelines-language-server ``` -Once installed, point `cmd` to `server.js` inside the `out` directory: - -```lua -cmd = {'node', '/out/server.js', '--stdio'} -``` - By default `azure-pipelines-ls` will only work in files named `azure-pipelines.yml`, this can be changed by providing additional settings like so: ```lua require("lspconfig").azure_pipelines_ls.setup { @@ -878,7 +869,7 @@ require'lspconfig'.azure_pipelines_ls.setup{} **Default values:** - `cmd` : ```lua - {} + { "azure-pipelines-language-server", "--stdio" } ``` - `filetypes` : ```lua diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 3db907f664..8b2292a8cc 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -832,21 +832,12 @@ https://github.com/microsoft/azure-pipelines-language-server An Azure Pipelines language server -**By default, `azure-pipelines-ls` doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. -You have to install the language server manually. - `azure-pipelines-ls` can be installed via `npm`: ```sh npm install -g azure-pipelines-language-server ``` -Once installed, point `cmd` to `server.js` inside the `out` directory: - -```lua -cmd = {'node', '/out/server.js', '--stdio'} -``` - By default `azure-pipelines-ls` will only work in files named `azure-pipelines.yml`, this can be changed by providing additional settings like so: ```lua require("lspconfig").azure_pipelines_ls.setup { @@ -878,7 +869,7 @@ require'lspconfig'.azure_pipelines_ls.setup{} **Default values:** - `cmd` : ```lua - {} + { "azure-pipelines-language-server", "--stdio" } ``` - `filetypes` : ```lua