Skip to content

Commit 2ee19cd

Browse files
committed
feat: avoid tabline
See #4
1 parent d8be1ff commit 2ee19cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/notify/render.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function NotificationRenderer:push_pending()
6666
local next_notif = self.pending:peek()
6767
local next_height = #next_notif.message + 3 -- Title and borders
6868

69-
local next_row = 0
69+
local next_row = vim.opt.tabline:get() == "" and 0 or 1
7070
for _, interval in pairs(self:window_intervals()) do
7171
local next_bottom = next_row + next_height
7272
if interval[1] <= next_bottom then

0 commit comments

Comments
 (0)