瀏覽代碼

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

kylo252 3 年之前
父節點
當前提交
3de829e76e

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

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

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

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

+ 1 - 1
.github/workflows/install.yaml

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

+ 1 - 1
.github/workflows/plugins.yml

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

+ 1 - 1
README.md

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

+ 0 - 1
lua/lvim/plugins.lua

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

+ 1 - 1
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) {

+ 2 - 2
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
 }