mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
feat(ui): add 'winbar'
Adds support for a bar at the top of each window, enabled through the `'winbar'` option. Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
This commit is contained in:
@@ -3102,6 +3102,19 @@ describe('API', function()
|
||||
'TextWithNoHighlight%#WarningMsg#TextWithWarningHighlight',
|
||||
{ use_tabline = true, highlights = true }))
|
||||
end)
|
||||
it('works with winbar', function()
|
||||
eq({
|
||||
str = 'TextWithNoHighlightTextWithWarningHighlight',
|
||||
width = 43,
|
||||
highlights = {
|
||||
{ start = 0, group = 'WinBar' },
|
||||
{ start = 19, group = 'WarningMsg' }
|
||||
}
|
||||
},
|
||||
meths.eval_statusline(
|
||||
'TextWithNoHighlight%#WarningMsg#TextWithWarningHighlight',
|
||||
{ use_winbar = true, highlights = true }))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
describe('nvim_parse_cmd', function()
|
||||
|
||||
Reference in New Issue
Block a user