From 826462a8f0923926066da66d8575f6573ee3f079 Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Sat, 28 May 2022 04:57:20 +0600 Subject: fix(ui): require window-local value to show winbar on floating windows (#18773) Previously, there was a bug where setting the local value of 'winbar' to itself would cause winbar to appear on a floating window, which is undesirable. This fix makes it so that it's explicitly required for the window-local value of 'winbar' for a floating window to be set in order for winbar to be shown on that window. --- runtime/doc/options.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 77aa294027..73755e55cc 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -7004,6 +7004,10 @@ A jump table for the options with a short description can be found at |Q_op|. When changing something that is used in 'winbar' that does not trigger it to be updated, use |:redrawstatus|. + Floating windows do not use the global value of 'winbar'. The + window-local value of 'winbar' must be set for a floating window to + have a window bar. + This option cannot be set in a modeline when 'modelineexpr' is off. *'winblend'* *'winbl'* -- cgit