From e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Fri, 13 May 2022 20:47:11 +0600 Subject: feat(ui): add `'winbar'` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds support for a bar at the top of each window, enabled through the `'winbar'` option. Co-authored-by: Björn Linse --- src/nvim/options.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 313cace4b2..eb92d47fc8 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2831,6 +2831,16 @@ return { varname='p_wak', defaults={if_true="menu"} }, + { + full_name='winbar', abbreviation='wbr', + short_desc=N_("custom format for the window bar"), + type='string', scope={'global', 'window'}, + alloced=true, + modelineexpr=true, + redraw={'statuslines'}, + varname='p_wbr', + defaults={if_true=""} + }, { full_name='winblend', abbreviation='winbl', short_desc=N_("Controls transparency level for floating windows"), -- cgit