Skip to content

Commit 3fd5223

Browse files
committed
Fix z-index of popups so notifications are shown over them
1 parent 67c1923 commit 3fd5223

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/neogit/lib/buffer.lua

+2
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ function Buffer:show()
317317
style = "minimal",
318318
focusable = true,
319319
border = "rounded",
320+
zindex = 48,
320321
})
321322

322323
api.nvim_win_set_cursor(content_window, { 1, 0 })
@@ -349,6 +350,7 @@ function Buffer:show()
349350
row = vim.o.lines - 2,
350351
style = "minimal",
351352
border = { "", "", "", "", "", "", "", "" },
353+
zindex = 49,
352354
-- title = (" %s Actions "):format(title),
353355
-- title_pos = "center",
354356
})

0 commit comments

Comments
 (0)