diff options
author | kylo252 <[email protected]> | 2022-04-27 17:37:27 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-27 17:37:27 +0200 |
commit | 3de829e76ed3d90b25250b1ab76f6425146af9d2 (patch) | |
tree | 82531570f5bc868b520d29c93dc07763afb8f52e /utils/installer | |
parent | f49f687bc244ff603f3dde6828a85538c50df220 (diff) |
refactor: lock new installations to nvim v0.7+ (#2526)
Diffstat (limited to 'utils/installer')
-rw-r--r-- | utils/installer/install.ps1 | 2 | ||||
-rwxr-xr-x | utils/installer/install.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/installer/install.ps1 b/utils/installer/install.ps1 index 182e7bac..31f862f3 100644 --- a/utils/installer/install.ps1 +++ b/utils/installer/install.ps1 @@ -82,7 +82,7 @@ function print_missing_dep_msg($dep) { Write-Output "Please install it first and re-run the installer." } -$winget_package_matrix=@{"git" = "Git.Git"; "nvim" = "nvim.nvim"; "make" = "GnuWin32.Make"; "node" = "OpenJS.NodeJS"; "pip" = "Python.Python.3"} +$winget_package_matrix=@{"git" = "Git.Git"; "nvim" = "Neovim.Neovim"; "make" = "GnuWin32.Make"; "node" = "OpenJS.NodeJS"; "pip" = "Python.Python.3"} $scoop_package_matrix=@{"git" = "git"; "nvim" = "neovim-nightly"; "make" = "make"; "node" = "nodejs"; "pip" = "python3"} function install_system_package($dep) { diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 0d56fe30..66149cf6 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -197,11 +197,11 @@ function print_missing_dep_msg() { } function check_neovim_min_version() { - local verify_version_cmd='if !has("nvim-0.6.1") | cquit | else | quit | endif' + local verify_version_cmd='if !has("nvim-0.7") | cquit | else | quit | endif' # exit with an error if min_version not found if ! nvim --headless -u NONE -c "$verify_version_cmd"; then - echo "[ERROR]: LunarVim requires at least Neovim v0.6.1 or higher" + echo "[ERROR]: LunarVim requires at least Neovim v0.7 or higher" exit 1 fi } |