mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(ui): always use stl/stlnc fillchars when drawing statusline (#25267)
This commit is contained in:
@@ -799,3 +799,21 @@ it("shows correct ruler in cmdline with no statusline", function()
|
||||
3longlonglong |
|
||||
]]
|
||||
end)
|
||||
|
||||
it('uses "stl" and "stlnc" fillchars even if they are the same #19803', function()
|
||||
clear()
|
||||
local screen = Screen.new(53, 4)
|
||||
screen:attach()
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {bold = true, foreground = Screen.colors.Blue}, -- NonText
|
||||
})
|
||||
command('hi clear StatusLine')
|
||||
command('hi clear StatusLineNC')
|
||||
command('vsplit')
|
||||
screen:expect{grid=[[
|
||||
^ │ |
|
||||
{1:~ }│{1:~ }|
|
||||
[No Name] [No Name] |
|
||||
|
|
||||
]]}
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user