Jelajahi Sumber

chore(installer): require neovim 0.6.1+ (#2211)

kylo252 3 tahun lalu
induk
melakukan
25e8b22349

+ 2 - 2
.github/ISSUE_TEMPLATE/general-issue-form.yaml

@@ -33,10 +33,10 @@ body:
   - type: input
     id: nvim-version
     attributes:
-      label: Neovim version (>= 0.6)
+      label: Neovim version (>= 0.6.1)
       description: "Output of `nvim --version`"
       placeholder: |
-        NVIM v0.6.0-dev+209-g0603eba6e
+        NVIM v0.7-dev+209-g0603eba6e
         Build type: Release
         LuaJIT 2.1.0-beta3
     validations:

+ 2 - 2
.github/ISSUE_TEMPLATE/lsp-issue-form.yaml

@@ -27,10 +27,10 @@ body:
   - type: input
     id: nvim-version
     attributes:
-      label: Neovim version (>= 0.6)
+      label: Neovim version (>= 0.6.1)
       description: "Output of `nvim --version`"
       placeholder: |
-        NVIM v0.6.0-dev+209-g0603eba6e
+        NVIM v0.7-dev+209-g0603eba6e
         Build type: Release
         LuaJIT 2.1.0-beta3
     validations:

+ 1 - 1
README.md

@@ -26,7 +26,7 @@ You can find all the documentation for LunarVim at [lunarvim.org](https://www.lu
 
 ## Install In One Command!
 
-Make sure you have the release version of Neovim (0.6).
+Make sure you have the release version of Neovim (0.6.1+).
 
 ```bash
 bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)

+ 2 - 2
lua/lvim/bootstrap.lua

@@ -1,7 +1,7 @@
 local M = {}
 
-if vim.fn.has "nvim-0.6" ~= 1 then
-  vim.notify("Please upgrade your Neovim base installation. Lunarvim requires v0.6+", vim.log.levels.WARN)
+if vim.fn.has "nvim-0.6.1" ~= 1 then
+  vim.notify("Please upgrade your Neovim base installation. Lunarvim requires v0.6.1+", vim.log.levels.WARN)
   vim.wait(5000, function()
     return false
   end)

+ 2 - 2
utils/installer/install.sh

@@ -171,11 +171,11 @@ function print_missing_dep_msg() {
 }
 
 function check_neovim_min_version() {
-  local verify_version_cmd='if !has("nvim-0.6.0") | cquit | else | quit | endif'
+  local verify_version_cmd='if !has("nvim-0.6.1") | 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.0 or higher"
+    echo "[ERROR]: LunarVim requires at least Neovim v0.6.1 or higher"
     exit 1
   fi
 }