From 0adaf59b666fa2620d46b853c0c99a2dd024963e Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 7 Sep 2021 14:12:56 +0200 Subject: some cleanup --- lua/nvim-lsp-installer/installers/shell.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/nvim-lsp-installer/installers/shell.lua') 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) -- cgit v1.2.3-70-g09d2