Skip to content

Commit a53a3b7

Browse files
committed
fix: use new property values from use_winbar
1 parent 8e4a314 commit a53a3b7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ require 'window-picker'.setup({
5858
selection_chars = 'FJDKSLA;CMRUEIWOQP',
5959

6060
-- whether you want to use winbar instead of the statusline
61-
-- true means to always use winbar,
62-
-- false means to never use winbar
63-
-- nil means to use winbar if cmdheight=0 and statusline if cmdheight > 0
64-
use_winbar = false,
61+
-- "always" means to always use winbar,
62+
-- "never" means to never use winbar
63+
-- "smart" means to use winbar if cmdheight=0 and statusline if cmdheight > 0
64+
use_winbar = 'never', -- "always" | "never" | "smart"
6565

6666
-- if you want to manually filter out the windows, pass in a function that
6767
-- takes two parameters. you should return window ids that should be

lua/window-picker/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local config = {
1515
-- "always" means to always use winbar,
1616
-- "never" means to never use winbar
1717
-- "smart" means to use winbar if cmdheight=0 and statusline if cmdheight > 0
18-
use_winbar = true, -- "always" | "never" | "smart"
18+
use_winbar = 'never', -- "always" | "never" | "smart"
1919

2020
-- if you want to manually filter out the windows, pass in a function that
2121
-- takes two parameters. you should return window ids that should be

0 commit comments

Comments
 (0)