We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed40313 commit 3e30b31Copy full SHA for 3e30b31
1 file changed
lua/dap-view/options/winbar/init.lua
@@ -96,7 +96,7 @@ end
96
97
---@param bufnr? integer
98
M.set_action_keymaps = function(bufnr)
99
- if bufnr or state.bufnr then
+ if (bufnr or state.bufnr) and util.is_win_valid(state.winnr) then
100
local winbar = setup.config.winbar
101
102
local win_width = api.nvim_win_get_width(state.winnr)
0 commit comments