feat!: drop support for nvim v0.8

This commit is contained in:
Lewis Russell 2024-05-23 09:29:55 +01:00 committed by Lewis Russell
parent 20f305d63b
commit d9d94e055a
5 changed files with 13 additions and 12 deletions

View file

@ -23,9 +23,13 @@ jobs:
timeout-minutes: 10
strategy:
# Nightly can often fail as it is a moving target so disable fail-fast so
# we can always see if the over versions pass or not.
fail-fast: false
matrix:
neovim_branch:
- 'v0.8.3'
- 'v0.9.5'
- 'v0.10.0'
- 'nightly'

View file

@ -3,8 +3,8 @@ export PJ_ROOT=$(PWD)
FILTER ?= .*
export NVIM_RUNNER_VERSION := v0.9.5
export NVIM_TEST_VERSION ?= v0.9.5
export NVIM_RUNNER_VERSION := v0.10.0
export NVIM_TEST_VERSION ?= v0.10.0
ifeq ($(shell uname -s),Darwin)
UNAME ?= MACOS
@ -30,8 +30,8 @@ test: nvim-test
.PHONY: test-all
test-all:
$(MAKE) test NVIM_TEST_VERSION=v0.8.3
$(MAKE) test NVIM_TEST_VERSION=v0.9.5
$(MAKE) test NVIM_TEST_VERSION=v0.10.0
$(MAKE) test NVIM_TEST_VERSION=nightly
export XDG_DATA_HOME ?= $(HOME)/.data

View file

@ -35,7 +35,7 @@ Super fast git decorations implemented purely in Lua.
## Requirements
- Neovim >= 0.8.0
- Neovim >= 0.9.0
**Note:** If your version of Neovim is too old, then you can use a past [release].

View file

@ -955,17 +955,17 @@ searching for other defined highlights in order.
GitSignsAdd
Used for the text of 'add' signs.
Fallbacks: `GitGutterAdd`, `SignifySignAdd`, `DiffAddedGutter`, `diffAdded`, `DiffAdd`
Fallbacks: `GitGutterAdd`, `SignifySignAdd`, `DiffAddedGutter`, `Added`, `DiffAdd`
*hl-GitSignsChange*
GitSignsChange
Used for the text of 'change' signs.
Fallbacks: `GitGutterChange`, `SignifySignChange`, `DiffModifiedGutter`, `diffChanged`, `DiffChange`
Fallbacks: `GitGutterChange`, `SignifySignChange`, `DiffModifiedGutter`, `Changed`, `DiffChange`
*hl-GitSignsDelete*
GitSignsDelete
Used for the text of 'delete' signs.
Fallbacks: `GitGutterDelete`, `SignifySignDelete`, `DiffRemovedGutter`, `diffRemoved`, `DiffDelete`
Fallbacks: `GitGutterDelete`, `SignifySignDelete`, `DiffRemovedGutter`, `Removed`, `DiffDelete`
*hl-GitSignsChangedelete*
GitSignsChangedelete
Used for the text of 'changedelete' signs.

View file

@ -85,9 +85,6 @@ describe('gitsigns (with screen)', function()
it('gitdir watcher works on a fresh repo', function()
local nvim_ver = exec_lua('return vim.version().minor')
if nvim_ver == 8 then
pending("v0.8.0 has some regression that's fixed it v0.9.0 dev")
end
screen:try_resize(20, 6)
setup_test_repo({ no_add = true })
-- Don't set this too low, or else the test will lock up
@ -110,7 +107,7 @@ describe('gitsigns (with screen)', function()
check({
status = { head = '', added = 18, changed = 0, removed = 0 },
signs = { untracked = nvim_ver == 10 and 7 or 8 },
signs = { untracked = nvim_ver == 9 and 8 or 7 },
})
git({ 'add', test_file })