aboutsummaryrefslogtreecommitdiffstats
path: root/CUSTOM_SERVERS.md
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-11-30 16:58:18 +0100
committerWilliam Boman <william@redwill.se>2021-11-30 16:58:20 +0100
commit4a96a14f89b00b192b6e8eef9197877e183d91d1 (patch)
tree909cc0d43217b935c832e9b13b6fe01c6f82858c /CUSTOM_SERVERS.md
parentfix(bicep): download the langserver via the vscode distribution (#286) (diff)
downloadmason-4a96a14f89b00b192b6e8eef9197877e183d91d1.tar
mason-4a96a14f89b00b192b6e8eef9197877e183d91d1.tar.gz
mason-4a96a14f89b00b192b6e8eef9197877e183d91d1.tar.bz2
mason-4a96a14f89b00b192b6e8eef9197877e183d91d1.tar.lz
mason-4a96a14f89b00b192b6e8eef9197877e183d91d1.tar.xz
mason-4a96a14f89b00b192b6e8eef9197877e183d91d1.tar.zst
mason-4a96a14f89b00b192b6e8eef9197877e183d91d1.zip
CUSTOM_SERVERS: remove shell.remote_bash
Resolves #297.
Diffstat (limited to 'CUSTOM_SERVERS.md')
-rw-r--r--CUSTOM_SERVERS.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/CUSTOM_SERVERS.md b/CUSTOM_SERVERS.md
index c68ba305..30487006 100644
--- a/CUSTOM_SERVERS.md
+++ b/CUSTOM_SERVERS.md
@@ -102,28 +102,6 @@ available installers that are available out of the box.
]]
```
- #### `shell.remote_bash(url: string, opts?: table)`
-
- Returns an installer that downloads the content at `url` and executes its content by passing it to the
- `shell.bash()` installer.
-
- `opts` is an optional table, with the following defaults:
-
- - `prefix: string` (default `"set -euo pipefail;"`) - Prefix added to the beginning of the script.
- - `env = table?` (default `nil`) - A table (dict) with environment variables to be set in the shell.
-
- Example:
-
- ```lua
- local shell = require "nvim-lsp-installer.installers.shell"
-
- shell.remote_bash("https://raw.githubusercontent.com/my_server/my_server_lsp/install.sh", {
- env = {
- MY_ENV = "true"
- }
- })
- ```
-
#### `shell.cmd(raw_script: string, opts?: table)`
Returns an installer that runs the provided `raw_script` as a `cmd.exe` script.