From 2ab810f9eaf43d4f10dea50ab35b5dac34f480cf Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 30 Nov 2021 13:34:09 +0100 Subject: fix(bicep): download the langserver via the vscode distribution (#286) This is done to avoid issues with unzipping the bicep-langserver.zip on POSIX systems (see https://github.com/Azure/bicep/issues/3704). --- lua/nvim-lsp-installer/installers/std.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/nvim-lsp-installer/installers/std.lua') diff --git a/lua/nvim-lsp-installer/installers/std.lua b/lua/nvim-lsp-installer/installers/std.lua index 6ad09e07..4a95e9c8 100644 --- a/lua/nvim-lsp-installer/installers/std.lua +++ b/lua/nvim-lsp-installer/installers/std.lua @@ -35,7 +35,7 @@ function M.download_file(url, out_file) end ---@param file string @The relative path to the file to unzip. ----@param dest string|nil @The destination of the unzip (defaults to "."). +---@param dest string|nil @The destination of the unzip. function M.unzip(file, dest) return installers.pipe { installers.when { @@ -57,6 +57,7 @@ end ---@see unzip(). ---@param url string @The url of the .zip file. +---@param dest string|nil @The url of the .zip file. Defaults to ".". function M.unzip_remote(url, dest) return installers.pipe { M.download_file(url, "archive.zip"), -- cgit v1.2.3-70-g09d2