Skip to content

Commit

Permalink
test(diff): adjust to Nightly change in how extmark is invalidated
Browse files Browse the repository at this point in the history
Now on Nightly after extmark with sign data is invalidated, signs are
immediately cleaned leading to possibly hiding the whole sign column
with the default 'signcolumn=auto'. Force 'signcolumn=yes' instead.
  • Loading branch information
echasnovski committed Sep 7, 2024
1 parent 0021192 commit 8413efd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_diff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2013,6 +2013,7 @@ end

T['Visualization']['reacts to hunk lines delete/move'] = function()
if child.fn.has('nvim-0.10') == 0 then MiniTest.skip('Reaction to line delete/move is available on Neovim>0.10.') end
child.o.signcolumn = 'yes'

set_lines({ 'aaa', 'bbb', 'uuu', 'vvv', 'ccc', 'ddd' })
set_ref_text(0, { 'aaa', 'bbb', 'ccc', 'ddd' })
Expand Down

0 comments on commit 8413efd

Please sign in to comment.