-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Open
Labels
optionsconfiguration, settingsconfiguration, settingsstatuslinetabline, winbar, statuscolumntabline, winbar, statuscolumn
Description
Problem
When setting a window-local winbar, this option is lost when changing the currently displayed buffer.
Steps to reproduce
nvim -Nu NONE:e a:setlocal winbar=foo:e b
Then
:bu a
Expected behavior
Winbar foo is displayed in the window when both a and b buffers are displayed.
Actual behaviour:
winbaar is removed when switching to b
winbaar is returned when switching back to a
I.e. the option seems to be buffer-local not window-local, or setlocal is setting it in the buffer not the window.
From the help:
'winbar' 'wbr' string (default empty)
global or local to window global-local
Neovim version (nvim -v)
NVIM v0.10.0-dev-111+g9e5f9c25d
Vim (not Nvim) behaves the same?
Vim behaves as expected when using nnoremenu WinBar.foo
Operating system/version
macOS
Terminal name/version
iTerm2
$TERM environment variable
xterm-256color
Installation
build from source, brew
Metadata
Metadata
Assignees
Labels
optionsconfiguration, settingsconfiguration, settingsstatuslinetabline, winbar, statuscolumntabline, winbar, statuscolumn