Add windows specific information
This commit is contained in:
@@ -1,14 +1,25 @@
|
|||||||
# System Reqiurements
|
# System Reqiurements
|
||||||
These are the requirements to make use of this neovim configuration. Currently only supports GNU/Linux.
|
These are the requirements to make use of this neovim configuration.
|
||||||
|
|
||||||
- Neovim 0.10 or later
|
- Neovim 0.10 or later
|
||||||
|
- git
|
||||||
|
- tar
|
||||||
|
|
||||||
|
## Platform specific requirements
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
- powershell
|
||||||
|
- One of the following executables needs to be available:
|
||||||
|
- 7z
|
||||||
|
- peazip
|
||||||
|
- arc
|
||||||
|
- wzszip
|
||||||
|
- rar
|
||||||
|
|
||||||
|
Linux, macOS and other BSD variants:
|
||||||
- curl or wget
|
- curl or wget
|
||||||
- unzip
|
- unzip
|
||||||
- gzip
|
- gzip
|
||||||
- git
|
|
||||||
- tar
|
|
||||||
|
|
||||||
*Note: You may try using windows, but last time I checked there was a problem with the completion engine (nvim-cmp) that makes it impossible to traverse the drop-down list.*
|
|
||||||
|
|
||||||
## Optional
|
## Optional
|
||||||
|
|
||||||
|
|||||||
+4
-6
@@ -27,15 +27,13 @@ local utils = require("utils")
|
|||||||
-- Install lazy.nvim
|
-- Install lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.uv.fs_stat(lazypath) then
|
if not vim.uv.fs_stat(lazypath) then
|
||||||
if utils.os_name == "Linux" then
|
if utils.os_name == "Windows_NT" then
|
||||||
utils.assert_any_installed({ "curl", "wget", })
|
|
||||||
utils.assert_installed("unzip")
|
|
||||||
utils.assert_installed("gzip")
|
|
||||||
elseif utils.os_name == "Windows_NT" then
|
|
||||||
utils.assert_any_installed({ "pwsh", "powershell", })
|
utils.assert_any_installed({ "pwsh", "powershell", })
|
||||||
utils.assert_any_installed({ "7z", "peazip", "arc", "wzzip", "rar", })
|
utils.assert_any_installed({ "7z", "peazip", "arc", "wzzip", "rar", })
|
||||||
else
|
else
|
||||||
error("OS not supported: " .. utils.os_name)
|
utils.assert_any_installed({ "curl", "wget", })
|
||||||
|
utils.assert_installed("unzip")
|
||||||
|
utils.assert_installed("gzip")
|
||||||
end
|
end
|
||||||
|
|
||||||
utils.assert_installed("git")
|
utils.assert_installed("git")
|
||||||
|
|||||||
Reference in New Issue
Block a user