mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(column): fill 'statuscolumn' clickdefs with evaluated width (#26891)
This commit is contained in:
@@ -77,6 +77,18 @@ describe('statuscolumn', function()
|
||||
1 aaaaa |
|
||||
|
|
||||
]])
|
||||
-- Doesn't crash when trying to fill click defs that do not fit (#26845)
|
||||
command('norm gg')
|
||||
command([=[
|
||||
set stc=%@Click@%{v:relnum?v:relnum:(v:lnum==5?'bbbbb':v:lnum)}%T
|
||||
norm 5Gzt | redraw!
|
||||
]=])
|
||||
screen:expect([[
|
||||
bbbbba^eaaa |
|
||||
1 aaaaa |
|
||||
2 aaaaa |
|
||||
|
|
||||
]])
|
||||
end)
|
||||
|
||||
it("works with 'number' and 'relativenumber'", function()
|
||||
|
||||
Reference in New Issue
Block a user