From a5f3d6a172fceadcfed58b8c209ac3211635a3c8 Mon Sep 17 00:00:00 2001 From: bekaboo <18127878294@qq.com> Date: Sun, 24 Mar 2024 13:04:20 +0800 Subject: [PATCH] feat(menu): set &winfixbuf in menu windows --- lua/dropbar/menu.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/dropbar/menu.lua b/lua/dropbar/menu.lua index aab8e9e1..f6ae1c64 100644 --- a/lua/dropbar/menu.lua +++ b/lua/dropbar/menu.lua @@ -528,6 +528,7 @@ function dropbar_menu_t:open_win() self.win = vim.api.nvim_open_win(self.buf, true, self._win_configs) vim.wo[self.win].scrolloff = 0 vim.wo[self.win].sidescrolloff = 0 + vim.wo[self.win].winfixbuf = true vim.wo[self.win].winhl = table.concat({ 'NormalFloat:DropBarMenuNormalFloat', 'FloatBorder:DropBarMenuFloatBorder',