aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/server_configurations.md73
-rw-r--r--doc/server_configurations.txt73
2 files changed, 146 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 40cbb12f..4b9b65a8 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -15,6 +15,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [asm_lsp](#asm_lsp)
- [astro](#astro)
- [awk_ls](#awk_ls)
+- [azure_pipelines_ls](#azure_pipelines_ls)
- [bashls](#bashls)
- [beancount](#beancount)
- [bicep](#bicep)
@@ -690,6 +691,78 @@ require'lspconfig'.awk_ls.setup{}
```
+## azure_pipelines_ls
+
+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', '<path_to_azure_pipelines_install>/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 {
+ ... -- other configuration for setup {}
+ settings = {
+ yaml = {
+ schemas = {
+ ["https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json"] = {
+ "/azure-pipeline*.y*l",
+ "/*.azure*",
+ "Azure-Pipelines/**/*.y*l",
+ "Pipelines/*.y*l",
+ },
+ },
+ },
+ },
+}
+```
+The Azure Pipelines LSP is a fork of `yaml-language-server` and as such the same settings can be passed to it as `yaml-language-server`.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.azure_pipelines_ls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ {}
+ ```
+ - `filetypes` :
+ ```lua
+ { "yaml" }
+ ```
+ - `root_dir` :
+ ```lua
+ see source file
+ ```
+ - `settings` :
+ ```lua
+ {}
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## bashls
https://github.com/mads-hartmann/bash-language-server
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 40cbb12f..4b9b65a8 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -15,6 +15,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [asm_lsp](#asm_lsp)
- [astro](#astro)
- [awk_ls](#awk_ls)
+- [azure_pipelines_ls](#azure_pipelines_ls)
- [bashls](#bashls)
- [beancount](#beancount)
- [bicep](#bicep)
@@ -690,6 +691,78 @@ require'lspconfig'.awk_ls.setup{}
```
+## azure_pipelines_ls
+
+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', '<path_to_azure_pipelines_install>/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 {
+ ... -- other configuration for setup {}
+ settings = {
+ yaml = {
+ schemas = {
+ ["https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json"] = {
+ "/azure-pipeline*.y*l",
+ "/*.azure*",
+ "Azure-Pipelines/**/*.y*l",
+ "Pipelines/*.y*l",
+ },
+ },
+ },
+ },
+}
+```
+The Azure Pipelines LSP is a fork of `yaml-language-server` and as such the same settings can be passed to it as `yaml-language-server`.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.azure_pipelines_ls.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ {}
+ ```
+ - `filetypes` :
+ ```lua
+ { "yaml" }
+ ```
+ - `root_dir` :
+ ```lua
+ see source file
+ ```
+ - `settings` :
+ ```lua
+ {}
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## bashls
https://github.com/mads-hartmann/bash-language-server