fix(marks): revise metadata for start mark of revalidated pair #32017

Problem:  Metadata may be revised for end mark of a revalidated pair.
Solution: Revise metadata for start mark of a revalidated pair.
This commit is contained in:
luukvbaal
2025-01-15 11:38:45 +01:00
committed by GitHub
parent 09bcb31068
commit 5cc93ef472
2 changed files with 15 additions and 14 deletions

View File

@@ -1794,7 +1794,7 @@ describe('API/extmarks', function()
eq({}, get_extmark_by_id(ns, 4, {}))
end)
it('no crash checking invalided flag of sign pair end key #31856', function()
it('no crash checking invalidated flag of sign pair end key #31856', function()
api.nvim_buf_set_lines(0, 0, 1, false, { '', '' })
api.nvim_set_option_value('signcolumn', 'auto:2', {})
set_extmark(ns, 1, 0, 0, { sign_text = 'S1', invalidate = true, end_row = 0 })