refactor: lock new installations to nvim v0.7+ (#2526)

This commit is contained in:
kylo252 2022-04-27 17:37:27 +02:00 committed by GitHub
parent f49f687bc2
commit 3de829e76e
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 9 deletions

View file

@ -33,7 +33,7 @@ body:
- type: input
id: nvim-version
attributes:
label: Neovim version (>= 0.6.1)
label: Neovim version (>= 0.7)
description: "Output of `nvim --version`"
placeholder: |
NVIM v0.7-dev+209-g0603eba6e

View file

@ -27,7 +27,7 @@ body:
- type: input
id: nvim-version
attributes:
label: Neovim version (>= 0.6.1)
label: Neovim version (>= 0.7)
description: "Output of `nvim --version`"
placeholder: |
NVIM v0.7-dev+209-g0603eba6e

View file

@ -57,7 +57,7 @@ jobs:
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.6.1
version: v0.7.0
- name: Install LunarVim
timeout-minutes: 4

View file

@ -33,7 +33,7 @@ jobs:
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.6.1
version: v0.7
- name: Install LunarVim
timeout-minutes: 4

View file

@ -29,7 +29,7 @@
## Install In One Command!
Make sure you have the release version of Neovim (0.6.1+).
Make sure you have the release version of Neovim (0.7+).
### Linux:

View file

@ -114,7 +114,6 @@ local core_plugins = {
-- Treesitter
{
"nvim-treesitter/nvim-treesitter",
branch = vim.fn.has "nvim-0.6" == 1 and "master" or "0.5-compat",
-- run = ":TSUpdate",
config = function()
require("lvim.core.treesitter").setup()

View file

@ -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) {

View file

@ -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
}