diff options
Diffstat (limited to 'lua/nvim-lsp-installer/installers/shell.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/installers/shell.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/installers/shell.lua b/lua/nvim-lsp-installer/installers/shell.lua index 2ba84305..dbf0c17a 100644 --- a/lua/nvim-lsp-installer/installers/shell.lua +++ b/lua/nvim-lsp-installer/installers/shell.lua @@ -4,10 +4,10 @@ local process = require "nvim-lsp-installer.process" local M = {} local function shell(opts) - return function(server, callback, installer_opts) + return function(server, callback, context) local _, stdio = process.spawn(opts.shell, { cwd = server.root_dir, - stdio_sink = installer_opts.stdio_sink, + stdio_sink = context.stdio_sink, env = process.graft_env(opts.env or {}), }, callback) |
