Skip to content

Commit 1b37f74

Browse files
committed
fix: disable winbar on Noice windows
1 parent 10a97a0 commit 1b37f74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/noice/view/init.lua

+5
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ function View:render(buf, opts)
196196
opts = opts or {}
197197
local linenr = opts.offset or 1
198198

199+
local win = vim.fn.bufwinid(buf)
200+
if win ~= -1 then
201+
vim.api.nvim_win_set_option(win, "winbar", "")
202+
end
203+
199204
if self._opts.buf_options then
200205
require("nui.utils")._.set_buf_options(buf, self._opts.buf_options)
201206
end

0 commit comments

Comments
 (0)