fix(statuscolumn): force full redraw when signcolumn is invalid (#24859)

Fix #24655
This commit is contained in:
luukvbaal
2023-08-26 15:10:04 +02:00
committed by GitHub
parent 965ed579fe
commit afd0c648a8
2 changed files with 4 additions and 0 deletions

View File

@@ -727,6 +727,8 @@ describe('statuscolumn', function()
end
return vim.v.lnum .. '%=' .. sign
end
vim.o.number = true
vim.o.numberwidth = 2
vim.o.statuscolumn = "%!v:lua.StatusCol()"
]])
command('sign place 1 line=2 name=sign')