From 6774fc80cd2d4bb35e69f9c7280dbad21830018d Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Wed, 1 Mar 2023 08:47:51 -0500 Subject: [PATCH] chore(update): v3 released to nightly --- .github/README.md | 2 ++ updater.lua | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/README.md b/.github/README.md index 22f81d5..4949602 100644 --- a/.github/README.md +++ b/.github/README.md @@ -2,6 +2,8 @@ A user configuration template for [AstroNvim](https://github.com/AstroNvim/AstroNvim) +**Note:** This repository does require AstroNvim v3.0. Because of this, `nightly` is currently the default update channel until v3.0 is released to stable when it will be changed to using `stable` by default. + ## 🛠️ Installation #### Make a backup of your current nvim and shared folder diff --git a/updater.lua b/updater.lua index 3272eba..749b45c 100644 --- a/updater.lua +++ b/updater.lua @@ -1,17 +1,17 @@ -- Configure AstroNvim updates return { - -- remote = "origin", -- remote to use + remote = "origin", -- remote to use channel = "nightly", -- "stable" or "nightly" - -- version = "latest", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY) - branch = "v3", -- branch name (NIGHTLY ONLY) - -- commit = nil, -- commit hash (NIGHTLY ONLY) - -- pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only) - -- skip_prompts = false, -- skip prompts about breaking changes - -- show_changelog = true, -- show the changelog after performing an update - -- auto_quit = false, -- automatically quit the current session after a successful update - -- remotes = { -- easily add new remotes to track - -- ["remote_name"] = "https://remote_url.come/repo.git", -- full remote url - -- ["remote2"] = "github_user/repo", -- GitHub user/repo shortcut, - -- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork - -- }, + version = "latest", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY) + branch = "nightly", -- branch name (NIGHTLY ONLY) + commit = nil, -- commit hash (NIGHTLY ONLY) + pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only) + skip_prompts = false, -- skip prompts about breaking changes + show_changelog = true, -- show the changelog after performing an update + auto_quit = false, -- automatically quit the current session after a successful update + remotes = { -- easily add new remotes to track + -- ["remote_name"] = "https://remote_url.come/repo.git", -- full remote url + -- ["remote2"] = "github_user/repo", -- GitHub user/repo shortcut, + -- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork + }, }