Skip to content

Commit

Permalink
feat!: drop support for nvim v0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed May 23, 2024
1 parent 20f305d commit d9d94e0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].

Expand Down
6 changes: 3 additions & 3 deletions doc/gitsigns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 1 addition & 4 deletions test/gitsigns_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 })
Expand Down

0 comments on commit d9d94e0

Please sign in to comment.