From ae5920fc5450cbeab0f4a04fc3a7afc0b6e5350b Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Thu, 3 Sep 2026 12:25:50 -0400 Subject: [PATCH] feat!: require Neovim 0.10 --- .github/workflows/astrotheme.yml | 4 ++-- README.md | 2 +- lua/astrotheme/groups/base.lua | 3 --- lua/astrotheme/groups/treesitter.lua | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/astrotheme.yml b/.github/workflows/astrotheme.yml index e308845..dbc5bfa 100644 --- a/.github/workflows/astrotheme.yml +++ b/.github/workflows/astrotheme.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - nvim-version: ["stable", "nightly"] + nvim-version: ["v0.10.0", "stable", "nightly"] name: Test Neovim ${{ matrix.nvim-version }} steps: - uses: actions/checkout@v4 @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - token: ${{ secrets.RELEASE_TOKEN != null && secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }} + token: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }} - uses: rhysd/action-setup-vim@v1 with: neovim: true diff --git a/README.md b/README.md index 5bc6908..8ed4196 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ term.foreground ## ⚡ Requirements -- Neovim >= 0.8 +- Neovim >= 0.10 ## 🔌 Supported Plugins diff --git a/lua/astrotheme/groups/base.lua b/lua/astrotheme/groups/base.lua index 471c9d2..9f2ddde 100644 --- a/lua/astrotheme/groups/base.lua +++ b/lua/astrotheme/groups/base.lua @@ -129,9 +129,6 @@ local function callback(c, opts) Added = { fg = c.syntax.green }, Removed = { fg = c.syntax.red }, Changed = { fg = c.syntax.orange }, - DiffAdded = { fg = c.syntax.green }, -- NOTE: DEPRECATED IN v0.10 - DiffRemoved = { fg = c.syntax.red }, -- NOTE: DEPRECATED IN v0.10 - DiffChanged = { fg = c.syntax.orange }, -- NOTE: DEPRECATED IN v0.10 DiffAdd = { bg = color.new(c.syntax.green):blend(base, 0.75):tohex() }, DiffChange = { bg = color.new(c.syntax.yellow):blend(base, 0.75):tohex() }, DiffDelete = { bg = color.new(c.syntax.red):blend(base, 0.75):tohex() }, diff --git a/lua/astrotheme/groups/treesitter.lua b/lua/astrotheme/groups/treesitter.lua index 0b043e0..ff1f7ae 100644 --- a/lua/astrotheme/groups/treesitter.lua +++ b/lua/astrotheme/groups/treesitter.lua @@ -124,7 +124,7 @@ local function callback(c, opts) ["@markup.list.unchecked"] = { fg = c.ui.blue, bold = true }, ["@markup.list.checked"] = { fg = c.ui.cyan, bold = true }, - ["@diff.plus"] = "DiffAdded", + ["@diff.plus"] = "DiffAdd", ["@diff.minus"] = "DiffDelete", ["@diff.delta"] = "DiffChange",