From 4a96a14f89b00b192b6e8eef9197877e183d91d1 Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 30 Nov 2021 16:58:18 +0100 Subject: CUSTOM_SERVERS: remove shell.remote_bash Resolves #297. --- CUSTOM_SERVERS.md | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'CUSTOM_SERVERS.md') 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. -- cgit v1.2.3-70-g09d2