diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/pyls_ms.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/lspconfig/pyls_ms.lua b/lua/lspconfig/pyls_ms.lua index a1a8b687..517aede1 100644 --- a/lua/lspconfig/pyls_ms.lua +++ b/lua/lspconfig/pyls_ms.lua @@ -36,6 +36,10 @@ local function make_installer() error('Need ".NET Core" to install this.') return end + if not (util.has_bins("unzip")) and (vim.fn.has('mac') == 1 or vim.fn.has('unix') == 1) then + error('Need "unzip" to install this.') + return + end local system if vim.fn.has('mac') == 1 then |
