diff options
| author | William Boman <william@redwill.se> | 2021-09-10 22:42:46 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-09-10 22:42:46 +0200 |
| commit | 01fd06371a79251def0336bc9f0a929587331049 (patch) | |
| tree | 55e3435e7f42fb9fb4b861c1ab2658a6c4dfc6d7 /lua/nvim-lsp-installer/installers/shell.lua | |
| parent | installers/gem: fix cmd name on windows (diff) | |
| download | mason-01fd06371a79251def0336bc9f0a929587331049.tar mason-01fd06371a79251def0336bc9f0a929587331049.tar.gz mason-01fd06371a79251def0336bc9f0a929587331049.tar.bz2 mason-01fd06371a79251def0336bc9f0a929587331049.tar.lz mason-01fd06371a79251def0336bc9f0a929587331049.tar.xz mason-01fd06371a79251def0336bc9f0a929587331049.tar.zst mason-01fd06371a79251def0336bc9f0a929587331049.zip | |
deno: add windows support
Diffstat (limited to 'lua/nvim-lsp-installer/installers/shell.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/installers/shell.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/installers/shell.lua b/lua/nvim-lsp-installer/installers/shell.lua index ace1f814..8cb263ef 100644 --- a/lua/nvim-lsp-installer/installers/shell.lua +++ b/lua/nvim-lsp-installer/installers/shell.lua @@ -67,6 +67,10 @@ function M.powershell(raw_script, opts) } end +function M.remote_powershell(url, opts) + return M.powershell(("iwr %q -useb | iex"):format(url), opts) +end + function M.polyshell(raw_script, opts) local default_opts = { env = {}, |
