aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-05-13 20:47:11 +0600
committerFamiu Haque <famiuhaque@protonmail.com>2022-05-18 09:27:08 +0600
commite1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb (patch)
treed892e10e8e922e71ce822e7c6a5c41fad1dd73d1 /src/nvim/options.lua
parentb9b5577d6d8e07d1e39020c8fc05f817f2e81c66 (diff)
downloadrneovim-e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb.tar.gz
rneovim-e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb.tar.bz2
rneovim-e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb.zip
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>
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua10
1 files changed, 10 insertions, 0 deletions
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
@@ -2832,6 +2832,16 @@ return {
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"),
type='number', scope={'window'},