diff options
author | tj-moody <92702993+tj-moody@users.noreply.github.com> | 2023-09-23 22:49:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 10:49:47 +0800 |
commit | 046c9a83f7ed2694c19d915a63ef0dfed9d29dc5 (patch) | |
tree | 91959929052c4b4922095954678220e3480f6dcd /test/functional/ui/statusline_spec.lua | |
parent | cfb898cd8a42ff2262c96a12919a3cacef9d2973 (diff) | |
download | rneovim-046c9a83f7ed2694c19d915a63ef0dfed9d29dc5.tar.gz rneovim-046c9a83f7ed2694c19d915a63ef0dfed9d29dc5.tar.bz2 rneovim-046c9a83f7ed2694c19d915a63ef0dfed9d29dc5.zip |
fix(ui): always use stl/stlnc fillchars when drawing statusline (#25267)
Diffstat (limited to 'test/functional/ui/statusline_spec.lua')
-rw-r--r-- | test/functional/ui/statusline_spec.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/ui/statusline_spec.lua b/test/functional/ui/statusline_spec.lua index 7967fb6865..182e0cdadf 100644 --- a/test/functional/ui/statusline_spec.lua +++ b/test/functional/ui/statusline_spec.lua @@ -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) |